CVSROOT: /cvs/gnome Module name: libegg Changes by: ebassi 05/10/25 17:48:54
Modified files: libegg/recentchooser: populate-recent.c Log message: 2005-10-25 Emmanuele Bassi <[EMAIL PROTECTED]> * libegg/recentchooser/xdgmime: added xdgmime library, in order to use the shared MIME info database and simplify the API of the RecentManager. * libegg/recentchooser/Makefile.am: update build * libegg/recentchooser/libegg/eggrecentchooserutils.c, libegg/recentchooser/libegg/eggrecentchooserutils.h, libegg/recentchooser/eggrecentchooser.c, libegg/recentchooser/eggrecentchooser.h: (egg_recent_chooser_class_init), (egg_recent_chooser_get_show_private), (egg_recent_chooser_set_show_not_found), (egg_recent_chooser_get_show_not_found), (egg_recent_chooser_set_show_icons), (egg_recent_chooser_get_show_icons): add "show-icons" as a property, and document some more functions. * libegg/recentchooser/eggrecentchooserdefault.c: (egg_recent_chooser_default_set_property), (egg_recent_chooser_default_get_property): add support for the "show-icons" property. * libegg/recentchooser/eggrecentchoosermenu.c: (egg_recent_chooser_menu_set_property), (egg_recent_chooser_menu_get_property), (egg_recent_chooser_menu_create_item), (get_icon_theme_for_widget), (get_icon_size_for_widget): add support for the "show-icons" property, and enhance code for icon sizing. * libegg/recentchooser/eggrecentfilter.c: use the newly added xdgmime code for retrieving the correct MIME type for a comparison, and leave the dumb comparison for non-UNIX architectures. * libegg/recentchooser/eggrecentmanager.h, libegg/recentchooser/eggrecentmanager.c: (build_recent_items_list): don't leak the GError (egg_recent_manager_add_item): add a simplier API for adding an item, by retrieving most of the meta-data by ourselves; this is *not* a magic bullet, but should save time/code for the common case. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=libegg&who=ebassi&date=explicit&mindate=2005-10-25%2017:47&maxdate=2005-10-25%2017:49 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list