openbsd-ports/x11/gnome/session/patches/patch-gnome-session_main_c
2010-04-22 22:38:51 +00:00

18 lines
607 B
Plaintext

$OpenBSD: patch-gnome-session_main_c,v 1.3 2010/04/22 22:38:51 ajacoutot Exp $
--- gnome-session/main.c.orig Tue Mar 9 00:31:27 2010
+++ gnome-session/main.c Fri Apr 23 00:33:12 2010
@@ -486,6 +486,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 ();