From 09d9d91297cb8de4cb56b0f6739a3017d72d203d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 30 Jun 2009 17:22:12 -0400 Subject: [PATCH] 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 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/shell-app-system.c b/src/shell-app-system.c index 6e7bfb0a7..50da81dfd 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);