suid

2002-05-29 Thread Monserrat Seisdedos Nuñez
Hello everybody: I'm trying to write a program that modifies the crontab file of a user, these files are readable only by root, so as gtk can't iniciate bit suid programs, how can i carry out my goal??? ___ gtk-list mailing list [EMAIL PROTECTED]

gtk_init outside main

2002-05-29 Thread Moser Markus
Hi! I am writing plugins for a proprietary CAD-program (Pro/Engineer). The target platforms currently are HP UX, SGI IRIX, IBM AIX and Windows NT. Existing code (not from me) is written in C using TCL scripts for GUIs that cannot be generated with the API of the CAD-program, which only provides

Re: suid

2002-05-29 Thread Olaf Fr±czyk
On 2002.05.29 09:52 Monserrat Seisdedos Nuñez wrote: Hello everybody: I'm trying to write a program that modifies the crontab file of a user, these files are readable only by root, so as gtk can't iniciate bit suid programs, how can i carry out my goal??? Hi, 1. Use sudo. I think it

Re: suid

2002-05-29 Thread Colin Leroy
On Wed, 29 May 2002 10:25:10 +0200 Olaf Fr±czyk [EMAIL PROTECTED] wrote: I'm trying to write a program that modifies the crontab file of a user, these files are readable only by root, so as gtk can't iniciate bit suid programs, how can i carry out my goal??? Hi, 1. Use sudo. I think it

RE: suid

2002-05-29 Thread Monserrat Seisdedos Nuñez
-Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Olaf Fr±czyk Enviado el: miércoles 29 de mayo de 2002 10:25 Para: Monserrat Seisdedos Nuñez CC: gtk (E-mail) Asunto: Re: suid On 2002.05.29 09:52 Monserrat Seisdedos Nuñez wrote: Hello

RE: suid

2002-05-29 Thread Monserrat Seisdedos Nunez
-Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Colin Leroy Enviado el: miércoles 29 de mayo de 2002 11:31 Para: [EMAIL PROTECTED] Asunto: Re: suid On Wed, 29 May 2002 10:25:10 +0200 Olaf Fr?czyk [EMAIL PROTECTED] wrote: I'm trying to

Re: Still no fonts with gtkfb

2002-05-29 Thread Sven Neumann
Hi, Vince Busam [EMAIL PROTECTED] writes: I still can't get any fonts working with gtk/framebuffer on a netwinder. Is there anywhere I can get an Xft configuration and fonts that are known to work? the following XftConfig does work for me with GTK+ on DirectFB and X11. It should as well

Re: Nvidia + GTK2

2002-05-29 Thread Sven Neumann
Hi, Eric [EMAIL PROTECTED] writes: Hi, I'm having problems with gtk2 and my geforce card. Any gkt2 application will eventually make the pc hang. I've mailed nvidia about this but I still haven't heard from them. Is this a known issue ? you are not using gdkxft, are you? gdkxft is an

Keeping windows permanently in the foreground

2002-05-29 Thread Mike Holme
Hi, Can anybody help me with this problem. I want a window to all remain in view, so if covered it will automatically pop up to the foreground again. Any ideas ? Thank you very much, Mike ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Nvidia + GTK2

2002-05-29 Thread Eric Leclercq
you are not using gdkxft, are you? gdkxft is an ugly LD_PRELOAD hack that enables antialiased fonts for gtk+-1.2 applications. It causes all gtk+-2.0 apps to crash on startup. No, I'm not. It hangs instantaneously when trying the 'pixbuf' demo from gtk-demo. The strange thing is that I have

cell-background

2002-05-29 Thread Bernd Demian
Hi all, I have read in changelog new property for gtk_view to draw one row in a spcial color. I have installed 2.0.3, but I get the message GLib-GObject-WARNING **: gobject.c:1001:g_object_set_property(): object class `GtkCellRendererText' has no property named `cell-background'. What must I

Re: cell-background

2002-05-29 Thread Sven Neumann
Hi, Bernd Demian [EMAIL PROTECTED] writes: I have read in changelog new property for gtk_view to draw one row in a spcial color. I have installed 2.0.3, but I get the message GLib-GObject-WARNING **: gobject.c:1001:g_object_set_property(): object class `GtkCellRendererText' has no

Problem with menu

2002-05-29 Thread Johannes Hager
Hallo Can someone send me a example how to build menus with gtk, because the example on www.gtk.org must have some mistakes. Thank you (Sorry for my ver bad englisch) Johannes ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Problem with gtk and pkg-config

2002-05-29 Thread manuel . op . de . coul
I forgot adding the pkg-config output: $ pkg-config gtk+-2.0 --cflags -I$(top_builddir)//usr/users/coul1358/local/lib/pkgconfig/. -I$(top_builddir)// usr/users/coul1358/local/lib/pkgconfig -I/usr/users/coul1358/local/include/atk-1 0 -I/usr/users/coul1358/local/include/pango-1.0

Re: suid

2002-05-29 Thread Chris Nystrom
On Wed, 29 May 2002, [iso-8859-1] Monserrat Seisdedos Nuñez wrote: I'm trying to write a program that modifies the crontab file of a user, these files are readable only by root, so as gtk can't iniciate bit suid programs, how can i carry out my goal??? system(crontab -l mycron.dat); ...

Re: gtk_init outside main

2002-05-29 Thread Paul Davis
I am writing plugins for a proprietary CAD-program (Pro/Engineer). The target platforms currently are HP UX, SGI IRIX, IBM AIX and Windows NT. Existing code (not from me) is written in C using TCL scripts for GUIs that cannot be generated with the API of the CAD-program, which only provides

Re: How to suspend widgets redraw

2002-05-29 Thread Paul Davis
If I have a window with several widgets on it, how do I suspend every widget redraw while making changes. I'd like to resume all redrawing until the end of such changes. GTK does this for you already. Redraws don't happen till you return control to the main event loop. Mostly. Not entirely, but

Re: Pango-1.0.2 released

2002-05-29 Thread James Su
Hi, I cannot use pango along with freetype 2.1.0! Here is the error message: ** ERROR **: file pangoxft-font.c: line 738 (pango_xft_font_get_font): assertion failed: (charmap != face-num_charmaps) It's OK to use with freetype 2.0.9 Is it a pango problem? Or it's a bug of freetype 2.1.0?

Re: gtk_init outside main

2002-05-29 Thread Moser Markus
you *probably* can't do this. does ProE have its own GUI? if so, it has a connection to the X server already. Yes it has. its very difficult to have multiple connections to the same X server within a single address space unless the program is written very carefully and with this idea fully

Re: Nvidia + GTK2

2002-05-29 Thread Nick Soffe
Hi Eric, What motherboard are you running on? I have 3 machines with gtk2.0.2 installed. Two athlons with abit boards and a P3 with a gigabyte board. All machines use Nvidia graphics boards (One TNT2 and two GEforce2) I use the latest drivers from Nvidia's website. All machines run the gtk-demo

Re: Nvidia + GTK2

2002-05-29 Thread Olaf Leidinger
Am Mittwoch, 29. Mai 2002 14:00 schrieben Sie: you are not using gdkxft, are you? gdkxft is an ugly LD_PRELOAD hack that enables antialiased fonts for gtk+-1.2 applications. It causes all gtk+-2.0 apps to crash on startup. No, I'm not. It hangs instantaneously when trying the 'pixbuf'

Re: Pango-1.0.2 released

2002-05-29 Thread Owen Taylor
James Su [EMAIL PROTECTED] writes: Hi, I cannot use pango along with freetype 2.1.0! Here is the error message: ** ERROR **: file pangoxft-font.c: line 738 (pango_xft_font_get_font): assertion failed: (charmap != face-num_charmaps) It's OK to use with freetype 2.0.9 Is it a pango

Fwd: Re: Nvidia + GTK2

2002-05-29 Thread Olaf Leidinger
Am Mittwoch, 29. Mai 2002 14:00 schrieben Sie: you are not using gdkxft, are you? gdkxft is an ugly LD_PRELOAD hack that enables antialiased fonts for gtk+-1.2 applications. It causes all gtk+-2.0 apps to crash on startup. No, I'm not. It hangs instantaneously when trying the 'pixbuf'

Sorting TreeModel on demand

2002-05-29 Thread Jarek Dukat
Hi I've already submitted a feature request on this topic using bugzilla, but I wonder what's your opinion about it. I set a default sort function and use default sort column in GtkTreeSortable and it works well. But when I call gtk_tree_sortable_set_default_sort_func again with a different

Newbie question: GTK styles and themes

2002-05-29 Thread Gabe Schmera
What is the difference between GTK styles and themes? When do you use one or the other? Thanks in advance. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Newbie question: GTK styles and themes

2002-05-29 Thread Paul Davis
What is the difference between GTK styles and themes? a style is a description of some specific aspects of one or more widget's appearance: what color should its foreground be when its active, etc. you tell a specific widget, or class of widgets, to use a specific style using a GTK RC file. a

Re: GLib-2.0.3 released

2002-05-29 Thread Owen Taylor
Joachim Backes [EMAIL PROTECTED] writes: having problems when making glib-2.0.3 under IRIX-6.5.15: When configuring by ./configure --with-libiconv=no the compiling aborts with ... gmake[3]: Entering directory `/usr/sc/backes/Software/glib-2.0.3/glib' /bin/sh ../libtool

About drawing primitives

2002-05-29 Thread Esteban Quijano
Title: About drawing primitives How can I use gdk drawing primitives with arbitrary colors, instead of using the typical 'widget-style-...' found in most sample code. I'd like for example to do something like: gdk_draw_rectangle( widget-window, /* DarkViolet */ TRUE, 0, 0,

Re: Keeping windows permanently in the foreground

2002-05-29 Thread Valdis . Kletnieks
On Wed, 29 May 2002 11:42:03 BST, Mike Holme [EMAIL PROTECTED] said: Can anybody help me with this problem. I want a window to all remain in view, so if covered it will automatically pop up to the foreground again. Any ideas ? Ick. There's two possibilities here. 1) You're writing a

Re: About drawing primitives

2002-05-29 Thread Chris Nystrom
On Wed, 29 May 2002, Esteban Quijano wrote: How can I use gdk drawing primitives with arbitrary colors, instead of using the typical 'widget-style-...' found in most sample code. You need to create your own graphics context. I'd like for example to do something like: gdk_draw_rectangle(