[PATCH] eel should handle NoDisplay=true entries in open with dialog



Reported as bug 323476 [1], proposed patch attached.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=323476

-- 
Christian Neumair <chris gnome-de org>
Index: configure.in
===================================================================
RCS file: /cvs/gnome/eel/configure.in,v
retrieving revision 1.214
diff -u -p -r1.214 configure.in
--- configure.in	16 Jan 2006 10:22:25 -0000	1.214
+++ configure.in	17 Mar 2006 18:44:57 -0000
@@ -15,7 +15,7 @@ XML_REQUIRED=2.4.7
 GAIL_REQUIRED=0.16
 LIBGLADE_REQUIRED=2.0.0
 LIBGNOME_DESKTOP_REQUIRED=2.1.4
-LIBGNOME_MENU_REQUIRED=2.11.1
+LIBGNOME_MENU_REQUIRED=2.13.5
 
 AC_SUBST(ART_REQUIRED)
 AC_SUBST(GCONF_REQUIRED)
Index: eel/eel-open-with-dialog.c
===================================================================
RCS file: /cvs/gnome/eel/eel/eel-open-with-dialog.c,v
retrieving revision 1.19
diff -u -p -r1.19 eel-open-with-dialog.c
--- eel/eel-open-with-dialog.c	16 Dec 2005 20:49:11 -0000	1.19
+++ eel/eel-open-with-dialog.c	17 Mar 2006 18:44:59 -0000
@@ -552,7 +552,7 @@ get_all_applications (void)
 	GMenuTreeDirectory *root;
 	GSList             *retval;
 
-	tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_NONE);
+	tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY);
 
 	root = gmenu_tree_get_root_directory (tree);
 


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