2008-05-26 Vincent Untz * NEWS: * README: * configure.in: Version 2.22.2. 2008-04-15 Vincent Untz * libmenu/entry-directories.c: (cached_dir_add_subdir), (cached_dir_remove_subdir): reuse find_subdir() to simplify code Based on patch in bug #349695, by William Jon McCann * libmenu/gmenu-tree.c: (add_menu_for_legacy_dir): fix leak 2008-04-13 Vincent Untz * libmenu/gmenu-tree.c: (gmenu_tree_execute_moves): correctly order the list of move operations to execute, so it's possible to undo a move by doing the opposite move afterwards. Fix bug #323771. 2008-04-12 Vincent Untz If a or is missing some nodes, consider that they're implicit and add them. * libmenu/menu-layout.c: (fixup_layout_node): new, to add the missing nodes (end_element_handler): hook up the new function at the end of the parsing of the and nodes Fix end of bug #458285. 2008-04-12 Vincent Untz * layout/preferences.menu: do not exclude gnomecc.desktop (since alacarte will show it as excluded), but instead explicitly do not include it (and alacarte will not show it as excluded this way) Fix a bug where gnomecc.desktop is shown both in the toplevel System menu and in the Preferences submenu. 2008-04-12 Vincent Untz * libmenu/gmenu-tree.c: (process_layout): if showing excluded items (as in alacarte), remove an entry from the excluded set if it's explicitly included after the node. Fix bug #441198. 2008-04-12 Vincent Untz * layout/settings.menu: Merge menus and files at the end of the layout. Fix part of bug #458285. 2008-04-12 Vincent Untz Do not show unless specifically asked separators at the beginning of a menu, or at the end of a menu, or after another separator. Fix bug #497399. * python/gmenu.c: (initgmenu): add new flag * libmenu/gmenu-tree.[ch]: add new GMENU_TREE_FLAGS_SHOW_ALL_SEPARATORS flag (check_pending_separator): append a separator to a menu if there's a pending one (merge_subdir): (merge_entry): add calls to check_pending_separator() (process_layout_info): implement logic to add a separator if GMENU_TREE_FLAGS_SHOW_ALL_SEPARATORS is specified or add a pending one if it will be useful 2008-04-12 Vincent Untz * layout/applications.menu: do not show a11y in accessories submenu since they're already in the a11y one Patch by Josselin Mouette Fix bug #510757 2008-04-11 Vincent Untz * libmenu/menu-monitor.c: (monitor_callback): get the path of the file that caused the event, instead of something that will break in some case because it returns an URI. Fix crash described in bug #522800. 2008-04-11 Vincent Untz * libmenu/inotify-syscalls.h: * libmenu/inotify.h: killed * libmenu/menu-monitor.c: (register_monitor): call g_type_init() once since we're using gio in this file and so GObjects. Since libgnome-menus doesn't export any GObject stuff, an app can't know that g_type_init() has to be called and we have to do it. 2008-04-07 Vincent Untz * configure.in: post-release bump to 2.22.2 ==================== 2.22.1 ====================