After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 599351 - Need to set local environment variables in registryd
Need to set local environment variables in registryd
Status: RESOLVED DUPLICATE of bug 599244
Product: at-spi
Classification: Platform
Component: registry
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2009-10-22 21:36 UTC by Willie Walker
Modified: 2010-03-02 07:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to set GTK_MODULES and GTK_PATH locally before touching bonobo (2.65 KB, patch)
2009-10-22 21:38 UTC, Willie Walker
none Details | Review

Description Willie Walker 2009-10-22 21:36:38 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.
Comment 1 Willie Walker 2009-10-22 21:38:59 UTC
Created attachment 146065 [details] [review]
Patch to set GTK_MODULES and GTK_PATH locally before touching bonobo
Comment 2 Willie Walker 2009-10-23 18:08:43 UTC

*** This bug has been marked as a duplicate of bug 599244 ***