Re: php-gtk script uses old gtk as normal user, new gtk as root

From: Date: Wed, 21 May 2003 11:37:23 +0000
Subject: Re: php-gtk script uses old gtk as normal user, new gtk as root
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3465@lists.php.net to get a copy of this message
This sounds like root and your 'user' have different gnome/window manager themes set. --rdp On Tue, 20 May 2003, Charles McLaughlin wrote: > Hello, > > I wrote a small PHP script that uses GTK for a GUI. > > I designed the GUI in the old version of Glade (ver. 0.6.4) > which gives a Gnome 1 feel. If I run the script with my normal user > account, it looks like an old Gnome 1 app. The funny thing is when I > run the script as root, the GUI looks like a Gnome 2 app. > > For instance, when run as a normal user, radio buttons appear as > triangles. And when run as root, radio buttons appear as pretty > circular buttons. > > I'm just curious why this is happening. Also... running the script with > sudo gives the old Gnome 1 feel. I set the root $PATH to the same as my > user $PATH and that didn't change anything. > > I'm guessing that the root account knows where to find the new GTK libs, > but my normal account doesn't. > > Any ideas? > > btw the script is a just a GUI to shutdown, restart or suspend the > machine. > > Thanks! > Charles > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Rich Payne http://talisman.mv.com rdp at talisman dot mv dot com

« previous php.gtk.general (#3465) next »