CVSROOT: /cvs/gnome
Module name: gnome-panel
Changes by: markmc 05/05/02 10:53:34
Modified files:
gnome-panel : ChangeLog egg-recent-view-gtk.c
panel-menu-items.c panel-recent.c
panel-recent.h
Log message:
2005-05-02 Mark McLoughlin <[EMAIL PROTECTED]>
* panel-recent.[ch]: (panel_recent_append_documents_menu):
Re-work so that it returns the newly created EggRecentViewGtk
and allows it to be re-used by passing it back in as a parameter.
* panel-menu-items.c:
(panel_place_menu_item_create_menu): hold a ref on the
EggRecentViewGtk and re-user when re-creating the menu.
(panel_place_menu_item_finalize): unref the view.
* egg-recent-view-gtk.c:
(egg_recent_view_gtk_clear),
(egg_recent_view_gtk_set_list): don't barf if view->menu is NULL.
(egg_recent_view_gtk_finalize): don't unref the menu.
(egg_recent_view_gtk_set_menu): don't take a ref on the menu.
There's no point in us updating a menu which has been destroyed.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-panel&who=markmc&date=explicit&mindate=2005-05-02%2010:52&maxdate=2005-05-02%2010:54
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list