r29568 - in /packages/experimental/gnome-shell/debian: changelog patches/03_hidden_applications.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Sun Sep 4 13:01:15 UTC 2011


Author: joss
Date: Sun Sep  4 13:01:15 2011
New Revision: 29568

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=29568
Log:
03_hidden_applications.patch: do not show NoDisplay=true submenus 
and applications. This will avoid showing the Debian menu while 
asked not to. Closes: #557997.

Added:
    packages/experimental/gnome-shell/debian/patches/03_hidden_applications.patch
Modified:
    packages/experimental/gnome-shell/debian/changelog
    packages/experimental/gnome-shell/debian/patches/series

Modified: packages/experimental/gnome-shell/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-shell/debian/changelog?rev=29568&op=diff
==============================================================================
--- packages/experimental/gnome-shell/debian/changelog [utf-8] (original)
+++ packages/experimental/gnome-shell/debian/changelog [utf-8] Sun Sep  4 13:01:15 2011
@@ -13,6 +13,11 @@
       the right dependencies.
     - Make gnome-shell Recommends gnome-themes-standard (for Adwaita)
   * debian/compat: Bump debhelper compatibility to 8
+
+  [ Josselin Mouette ]
+  * 03_hidden_applications.patch: do not show NoDisplay=true submenus 
+    and applications. This will avoid showing the Debian menu while 
+    asked not to. Closes: #557997.
 
  -- Laurent Bigonville <bigon at debian.org>  Thu, 25 Aug 2011 12:15:25 +0200
 

Added: packages/experimental/gnome-shell/debian/patches/03_hidden_applications.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-shell/debian/patches/03_hidden_applications.patch?rev=29568&op=file
==============================================================================
--- packages/experimental/gnome-shell/debian/patches/03_hidden_applications.patch (added)
+++ packages/experimental/gnome-shell/debian/patches/03_hidden_applications.patch [utf-8] Sun Sep  4 13:01:15 2011
@@ -1,0 +1,20 @@
+Index: gnome-shell-3.0.2/src/shell-app-system.c
+===================================================================
+--- gnome-shell-3.0.2.orig/src/shell-app-system.c	2011-09-04 14:57:31.574689356 +0200
++++ gnome-shell-3.0.2/src/shell-app-system.c	2011-09-04 14:59:17.555207468 +0200
+@@ -195,12 +195,9 @@ shell_app_system_init (ShellAppSystem *s
+   /* Key is owned by info */
+   priv->app_id_to_app = g_hash_table_new (g_str_hash, g_str_equal);
+ 
+-  /* 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 ("gnomecc.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY);
++  /* Do not show NODISPLAY menus and applications */
++  priv->apps_tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_NONE);
++  priv->settings_tree = gmenu_tree_lookup ("gnomecc.menu", GMENU_TREE_FLAGS_NONE);
+ 
+   priv->app_change_timeout_id = 0;
+ 

Modified: packages/experimental/gnome-shell/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-shell/debian/patches/series?rev=29568&op=diff
==============================================================================
--- packages/experimental/gnome-shell/debian/patches/series [utf-8] (original)
+++ packages/experimental/gnome-shell/debian/patches/series [utf-8] Sun Sep  4 13:01:15 2011
@@ -1,2 +1,3 @@
 01_favorite_apps.patch
 02_rpath-bluetooth-applet.patch
+03_hidden_applications.patch




More information about the pkg-gnome-commits mailing list