[gnome-session] main: Set XDG_MENU_PREFIX
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] main: Set XDG_MENU_PREFIX
- Date: Mon, 18 Feb 2013 19:40:30 +0000 (UTC)
commit 6d7c73177858c3aeb2e65553b30dc536d4f1667d
Author: Florian MÃllner <fmuellner gnome org>
Date: Thu Oct 18 16:53:12 2012 +0200
main: Set XDG_MENU_PREFIX
gnome-menus now installs a prefixed applications.menu, so adapt to
this change.
gnome-session/main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session/main.c b/gnome-session/main.c
index f007c52..d0a83ad 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -317,6 +317,10 @@ 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.
+ */
+ gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-");
+
client_store = gsm_store_new ();
/* Talk to logind before acquiring a name, since it does synchronous
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]