Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 985e0d6624670bb7ae8f98c1228ff488 > files > 1

gnome-session-3.6.2-4.fc18.src.rpm

From 6bda8ba424d2dbd2441d9a7e6553608dceaa8454 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Thu, 18 Oct 2012 16:53:12 +0200
Subject: [PATCH] main: Set XDG_MENU_PREFIX

---
 gnome-session/main.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnome-session/main.c b/gnome-session/main.c
index 1903381..147daec 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -348,6 +348,11 @@ main (int argc, char **argv)
          */
         gsm_util_setenv ("GNOME_DESKTOP_SESSION_ID", "this-is-deprecated");
 
+        /* We want to use the GNOME menus which has the designed categories,
+         * not the legacy redhat-menus.
+         */
+        gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-");
+
         client_store = gsm_store_new ();
 
         /* Talk to logind before acquiring a name, since it does synchronous
-- 
1.7.12.1