CVSROOT:        /cvs/gnome
Module name:    gnome-menus
Changes by:     markmc  05/04/15 05:59:18

Modified files:
        .              : ChangeLog 
        libmenu        : entry-directories.c entry-directories.h 
                         gmenu-tree.c 
        util           : test-menu-spec.c 

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

Fix for bug #300589 [http://bugzilla.gnome.org/show_bug.cgi?id=300589] - if 
you've a .desktop file in
the user's app dir and another in the system app dir,
and they have a different set of categories, we'll
match against both .desktop files when processing
<Category>

* libmenu/gmenu-tree.c:
(get_by_category_foreach), (get_by_category): iterate
over a DesktopEntrySet looking for entries which have
a given category.
(process_include_rules): take a DesktopEntrySet which
contains the pool of desktop file IDs available, rather
than an EntryDirectoryList.
(process_layout): generate a pool of desktop file IDs
for matching against.

* libmenu/entry-directories.[ch]:
(entry_directory_list_get_by_category),
(entry_directory_list_invert_set): remove, they're unused
now.

* util/test-menu-spec.c: (print_entry): remove trailing
space which screws over the tests in menu-spec.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-menus&who=markmc&date=explicit&mindate=2005-04-15%2005:58&maxdate=2005-04-15%2006:00

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

Reply via email to