18 lines
664 B
Plaintext
18 lines
664 B
Plaintext
$OpenBSD: patch-gnome-session_main_c,v 1.7 2011/09/26 10:19:21 ajacoutot Exp $
|
|
--- gnome-session/main.c.orig Thu Sep 8 00:55:51 2011
|
|
+++ gnome-session/main.c Mon Sep 26 11:33:41 2011
|
|
@@ -334,6 +334,13 @@ main (int argc, char **argv)
|
|
*/
|
|
gsm_util_setenv ("GNOME_DESKTOP_SESSION_ID", "this-is-deprecated");
|
|
|
|
+ /* Set default menu to gnome-applications.menu if XDG_MENU_PREFIX
|
|
+ * is not set.
|
|
+ */
|
|
+ if (!g_getenv ("XDG_MENU_PREFIX")) {
|
|
+ gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-");
|
|
+ }
|
|
+
|
|
client_store = gsm_store_new ();
|
|
|
|
xsmp_server = gsm_xsmp_server_new (client_store);
|