CVSROOT:        /cvs/gnome
Module name:    gnome-menus
Changes by:     markmc  05/04/06 17:34:55

Modified files:
        .              : ChangeLog 
        libmenu        : Makefile.am menu-tree.c menu-tree.h 
        python         : gmenu.c 
        util           : test-menu-spec.c 

Log message:
2005-04-06  Mark McLoughlin  <[EMAIL PROTECTED]>

Add a flags argument to menu_tree_lookup () to allow specifying
that the tree should include excluded items or empty submenus

Also add menu_tree_entry_get_is_excluded ()

Partially based on a patch from Christian Neumair <[EMAIL PROTECTED]>
in bug #168526 [http://bugzilla.gnome.org/show_bug.cgi?id=168526]

* libmenu/Makefile.am: correctly pass the version info to libtool
and also specify an export-symbols regex.

* libmenu/menu-tree.[ch]:
(get_cache_key), (menu_tree_add_to_cache),
(menu_tree_remove_from_cache), (menu_tree_lookup_from_cache),
(menu_tree_lookup_absolute), (menu_tree_lookup_basename): include
the flags in the menu tree cache key.
(menu_tree_lookup): add a "flags" argument.
(menu_tree_entry_get_is_excluded): new function.
(process_layout): include excluded entries in the entries list
if the "include excluded" flag is set.
(merge_subdir): include empty submenus if the "show empty" flag
is set.

* python/gmenu.c: add support for the new API.

* util/test-menu-spec.c: add a --include-excluded option.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-menus&who=markmc&date=explicit&mindate=2005-04-06%2017:33&maxdate=2005-04-06%2017:35

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to