CVSROOT:        /cvs/gnome
Module name:    gnome-menus
Changes by:     markmc  05/05/05 03:43:58

Modified files:
        .              : ChangeLog 
        libmenu        : gmenu-tree.c gmenu-tree.h 
        python         : gmenu.c 

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

Add gmenu_tree_directory_get_tree() and gmenu_tree_get_menu_file()
as per bug #166321 [http://bugzilla.gnome.org/show_bug.cgi?id=166321].

* libmenu/gmenu-tree.[ch]:
(gmenu_tree_get_menu_file): simple accessor to the menu_file
passed to gmenu_tree_lookup ().
(gmenu_tree_directory_get_tree): iterate back up through the
tree until we find the root and return a ref on the associated
tree.
(gmenu_tree_directory_new),
(gmenu_tree_directory_finalize): add a MenuTreeDirectoryRoot
subclass of MenuTreeDirectory and keep a ref on the parent.

* python/gmenu.c:
(pygmenu_tree_directory_get_tree): impl gmenu.Directory.get_tree()
(pygmenu_tree_directory_getattro): impl gmenu.Directory.tree
(pygmenu_tree_get_menu_file): impl gmenu.Tree.get_menu_file()
(pygmenu_tree_getattro): impl gmenu.Tree.menu_file

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-menus&who=markmc&date=explicit&mindate=2005-05-05%2003:42&maxdate=2005-05-05%2003:44

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

Reply via email to