diff options
Diffstat (limited to 'src/yelp-main.c')
-rw-r--r-- | src/yelp-main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yelp-main.c b/src/yelp-main.c index b9f73218..13e0cc4f 100644 --- a/src/yelp-main.c +++ b/src/yelp-main.c @@ -324,6 +324,11 @@ main (int argc, char **argv) GNOME_PROGRAM_STANDARD_PROPERTIES, NULL); + /* Need to set this to the canonical DISPLAY value, since + that's where we're registering per-display components */ + bonobo_activation_set_activation_env_value ("DISPLAY", + gdk_display_get_name (gdk_display_get_default ())); + gnome_vfs_init (); /* Commandline parsing is done here */ |