[gnome-shell] ShellAppSystem: Only search gnomecc.menu for preferences



commit c97a8602a182b77e4cee75df13eb7f30ce836a2f
Author: Colin Walters <walters verbum org>
Date:   Thu Mar 17 16:26:49 2011 -0400

    ShellAppSystem: Only search gnomecc.menu for preferences
    
    settings.menu was removed in gnome-menus commit
    b68bcd27f44ce2c494f6e3cd9695890b9c02af04; gnomecc.menu is the intended
    replacement.
    
    (On Red Hat Linux derived systems, settings.menu continues to exist)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645063

 src/shell-app-system.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 7bd4b12..b52625a 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -200,7 +200,7 @@ shell_app_system_init (ShellAppSystem *self)
    * case by case.
    */
   priv->apps_tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY);
-  priv->settings_tree = gmenu_tree_lookup ("settings.menu", GMENU_TREE_FLAGS_NONE);
+  priv->settings_tree = gmenu_tree_lookup ("gnomecc.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY);
 
   priv->app_change_timeout_id = 0;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]