GNOME Bugzilla – Bug 599351
Need to set local environment variables in registryd
Last modified: 2010-03-02 07:22:03 UTC
The registryd currently sets GTK_MODULES in the gnome-session's environment when it starts up (and GTK_PATH as well with bug #599244). This helps cover any GUI launched from gnome-session, which is nearly every GUI. A big exception are the panel applets, which are launched via bonobo activation. In order for the panel applets to pick up the environment variables, the bonobo-activation-server needs to be launched with the environment variables. The bonobo-activation-server is launched when it is tickled, which is what the registryd does when initializing and registering with bonobo. This patch makes sure the GTK_MODULES and GTK_PATH environment variables are set in the local environment before the registryd does anything with bonobo. The result is that, since the registryd is typically the one thing that touches bonobo at gnome-session initialization time, the activation server picks up the environment variables. In turn, applets launched from the activation server also pick up the environment variables.
Created attachment 146065 [details] [review] Patch to set GTK_MODULES and GTK_PATH locally before touching bonobo
*** This bug has been marked as a duplicate of bug 599244 ***