openbsd-ports/x11/gnome/session/patches/patch-gnome-session_main_c
2011-09-12 07:28:52 +00:00

18 lines
604 B
Plaintext

$OpenBSD: patch-gnome-session_main_c,v 1.6 2011/09/12 07:28:54 jasper Exp $
--- gnome-session/main.c.orig Tue Mar 22 21:31:43 2011
+++ gnome-session/main.c Wed May 18 14:37:20 2011
@@ -325,6 +325,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 ();