[gnome-control-center/extensible-shell] Include "NoDisplay" items in the shell view
- From: Thomas Wood <thos src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-control-center/extensible-shell] Include "NoDisplay" items in the shell view
- Date: Fri, 12 Feb 2010 15:00:00 +0000 (UTC)
commit 2fb9e62d07c6420cc6cec9b003359cb81e2c0727
Author: Thomas Wood <thomas wood intel com>
Date: Fri Feb 12 14:44:33 2010 +0000
Include "NoDisplay" items in the shell view
This allows the items to be hidden by default in menus.
shell/control-center.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index 6a18ba5..5ee4cd1 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -281,7 +281,8 @@ fill_model (ShellData *data)
vbox = W (data->builder, "main-vbox");
- tree = gmenu_tree_lookup (MENUDIR "/gnomecc.menu", 0);
+ tree = gmenu_tree_lookup (MENUDIR "/gnomecc.menu",
+ GMENU_TREE_FLAGS_INCLUDE_NODSIPLAY);
if (!tree)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]