[gnome-shell] Include NoDisplay applications in application data



commit 09d9d91297cb8de4cb56b0f6739a3017d72d203d
Author: Colin Walters <walters verbum org>
Date:   Tue Jun 30 17:22:12 2009 -0400

    Include NoDisplay applications in application data
    
    For now, we want to get Evince and Nautilus at least in the application
    list.

 src/shell-app-system.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 6e7bfb0..50da81d 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -109,7 +109,11 @@ shell_app_system_init (ShellAppSystem *self)
                                                   (GDestroyNotify)g_free,
                                                   NULL);
 
-  priv->apps_tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_NONE);
+  /* For now, we want to pick up Evince, Nautilus, etc.  We'll
+   * handle NODISPLAY semantics at a higher level or investigate them
+   * 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);
 
   gmenu_tree_add_monitor (priv->apps_tree, on_tree_changed, self);



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