[Xfce4-commits] r23281 - libfrap/trunk/libfrap/menu
Jannis Pohlmann
jannis at xfce.org
Wed Oct 4 16:49:36 UTC 2006
Author: jannis
Date: 2006-10-04 16:49:36 +0000 (Wed, 04 Oct 2006)
New Revision: 23281
Modified:
libfrap/trunk/libfrap/menu/ChangeLog
libfrap/trunk/libfrap/menu/frap-menu.c
Log:
* frap-menu.c: Err, this fixes the <OnlyUnallocated /> check when
resolving items.
* frap-menu.c: Respect <OnlyUnallocated /> item when resolve menu items.
Modified: libfrap/trunk/libfrap/menu/ChangeLog
===================================================================
--- libfrap/trunk/libfrap/menu/ChangeLog 2006-10-04 16:33:23 UTC (rev 23280)
+++ libfrap/trunk/libfrap/menu/ChangeLog 2006-10-04 16:49:36 UTC (rev 23281)
@@ -1,12 +1,17 @@
2006-10-04 Jannis Pohlmann <jannis at xfce.org>
+ * frap-menu.c: Err, this fixes the <OnlyUnallocated /> check when
+ resolving items.
+
+2006-10-04 Jannis Pohlmann <jannis at xfce.org>
+
* frap-menu-item-pool.c: Add frap_menu_item_pool_get_empty function.
* tests/Makefile.am, tests/test-display-root-menu.c: Link against
libxfcegui4. Do not display empty menus. Improve icon loading again
and execute item command when menu items are clicked.
* frap-menu-item.c: Leave Exec/TryExec command as is (do not modify the
url(s)/file(s) parameter.
- * frap-menu.c: Respect <OnlyAllocated /> item when resolve menu items.
+ * frap-menu.c: Respect <OnlyUnallocated /> item when resolve menu items.
2006-10-03 Jannis Pohlmann <jannis at xfce.org>
Modified: libfrap/trunk/libfrap/menu/frap-menu.c
===================================================================
--- libfrap/trunk/libfrap/menu/frap-menu.c 2006-10-04 16:33:23 UTC (rev 23280)
+++ libfrap/trunk/libfrap/menu/frap-menu.c 2006-10-04 16:49:36 UTC (rev 23281)
@@ -1752,7 +1752,7 @@
{
/* Only include item if menu not only includes unallocated items
* or if the item is not allocated yet */
- if (!menu->priv->only_unallocated || frap_menu_item_get_allocated (item))
+ if (!menu->priv->only_unallocated || !frap_menu_item_get_allocated (item))
{
/* Assign the desktop id to the item */
frap_menu_item_set_desktop_id (item, desktop_id);
More information about the Xfce4-commits
mailing list