gnome-menus r894 - in trunk: . libmenu
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-menus r894 - in trunk: . libmenu
- Date: Sat, 17 May 2008 08:41:29 +0100 (BST)
Author: vuntz
Date: Sat May 17 07:41:28 2008
New Revision: 894
URL: http://svn.gnome.org/viewvc/gnome-menus?rev=894&view=rev
Log:
2008-05-17 Vincent Untz <vuntz gnome org>
* libmenu/gmenu-tree.c: (gmenu_tree_canonicalize_path): remove useless
test that will always result in TRUE
Modified:
trunk/ChangeLog
trunk/libmenu/gmenu-tree.c
Modified: trunk/libmenu/gmenu-tree.c
==============================================================================
--- trunk/libmenu/gmenu-tree.c (original)
+++ trunk/libmenu/gmenu-tree.c Sat May 17 07:41:28 2008
@@ -533,8 +533,7 @@
{
gmenu_tree_remove_menu_file_monitors (tree);
- if (tree->type == GMENU_TREE_BASENAME &&
- strcmp (tree->basename, "applications.menu") == 0 &&
+ if (strcmp (tree->basename, "applications.menu") == 0 &&
g_getenv ("XDG_MENU_PREFIX"))
{
char *prefixed_basename;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]