GNOME Bugzilla – Bug 168445
LegacyDir vs. OnlyUnallocated
Last modified: 2005-03-08 17:40:15 UTC
Having a menu item in a LegacyDir doesn't cause it to be hidden in an "OnlyUnallocated" menu.
Created attachment 38114 [details] [review] fix-legacy-entries-not-marked-as-allocated.patch Fix for this one. Testing appreciated.
This seems to work fine. This and the last one help a considerable amount.
Will be in 2.10.1 2005-03-08 Mark McLoughlin <mark@skynet.ie> Fix for bug #168445 - menu items in LegacyDirs don't get marked as allocated. * libmenu/menu-tree.c: (mark_allocated_foreach): kill. (process_layout), (process_only_unallocated), (menu_tree_build_from_layout): store the list of allocated entires in a DesktopEntrySet so we can look up an entry using its file ID rather than with a straight pointer comparison. Entries in LegacyDirs are copies of the original enties, so the pointer comparison doesn't work.