summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooser.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Set the default value of the :show-not-found property to TRUE, as everyEmmanuele Bassi2008-02-121-1/+1
| | | | | | | | | | | | | | | 2008-02-12 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchooser.c: (gtk_recent_chooser_class_init): Set the default value of the :show-not-found property to TRUE, as every implementation sets it to TRUE already. * gtk/gtkrecentchooserdefault.c: (_gtk_recent_chooser_default_init): Sync show_tips to the default value of the :show-tips property. svn path=/trunk/; revision=19535
* Add documentation for properties and fix the deprecation marker for theEmmanuele Bassi2007-07-301-7/+90
| | | | | | | | | | | | | | | 2007-07-29 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchooser.c: Add documentation for properties and fix the deprecation marker for the show-numbers accessor functions (Murray Cumming). * gtk/gtkrecentchooser.h: Add deprecation guards around gtk_recent_chooser_set_show_numbers() and gtk_recent_chooser_get_show_numbers(), as promised during last development cycle. svn path=/trunk/; revision=18556
* Various clean ups in the GtkRecent code. (see #338843)Emmanuele Bassi2007-03-141-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-14 Emmanuele Bassi <ebassi@gnome.org> Various clean ups in the GtkRecent code. (see #338843) * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchoosermenu.c: * gtk/gtkrecentchooserprivate.h: * gtk/gtkrecentchooserutils.c: Move the recent chooser function for getting the sorted and clamped list of recent files from the manager outside the implementations. * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate the list when the sorting order changes. (gtk_recent_chooser_default_dispose), (gtk_recent_chooser_default_finalize): Move object unref and source removal from finalize to dispose. * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the prerequisite for the GtkRecentChooser interface implementations, from GtkObject to GObject. (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of G_PARAM_* svn path=/trunk/; revision=17514
* fix recent files issuesMatthias Clasen2006-08-181-2/+0
|
* Add a check on the filter argument, instead of blindly passing it toEmmanuele Bassi2006-08-141-0/+3
| | | | | | | | | | | | | | | | | | | | 2006-08-14 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchooser.c: (gtk_recent_chooser_add_filter), (gtk_recent_chooser_remove_filter), (gtk_recent_chooser_set_filter): Add a check on the filter argument, instead of blindly passing it to underlying implementation. * gtk/gtkrecentchoosermenu.c: (gtk_recent_chooser_menu_add_filter), (gtk_recent_chooser_menu_remove_filter), (gtk_recent_chooser_menu_list_filters): Implement these GtkRecentChooser methods, by setting and returning the only GtkRecentFilter object supported by a GtkRecentChooserMenu. (#347856, reported by Rod Butcher)
* Check if the chooser implementation supports the "show-number" propertyEmmanuele Bassi2006-07-111-0/+37
| | | | | | | | | | 2006-07-11 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers), (gtk_recent_chooser_get_show_numbers): Check if the chooser implementation supports the "show-number" property and use a meaningful warning in case it doesn't; tell developers not to use these functions.
* Boilerplate reductionMatthias Clasen2006-05-021-11/+5
|
* No point in making the error path fast by caching quarks.Matthias Clasen2006-04-041-4/+1
| | | | | | | | | | | 2006-04-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark): * gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark): * gtk/gtkfilechooser.c (gtk_file_chooser_error_quark): * gtk/gtkfilesystem.c (gtk_file_system_error_quark): * gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point in making the error path fast by caching quarks.
* Fix the doc comment format.Matthias Clasen2006-03-301-2/+2
| | | | | | | | | | | | | | | | | | 2006-03-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc comment format. * gtk/gtkrecentmanager.c (gtk_recent_manager_has_item) (gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item) (gtk_recent_manager_get_limit, gtk_recent_manager_add_full) (gtk_recent_manager_get_items, gtk_recent_manager_remove_item): * gtk/gtkrecentfilter.c (gtk_recent_filter_add_age): * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers) (gtk_recent_chooser_set_sort_func): * gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync parameter names between .c and .h files to help gtk-doc.
* Fix some symbol aliasing glitchesMatthias Clasen2006-03-291-1/+1
|
* Import GtkRecent* from libegg.Emmanuele Bassi2006-03-291-0/+966
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org> Import GtkRecent* from libegg. * gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object for managing a list of recently used resources. * gtk/gtkrecentchooser.[ch]: * gtk/gtkrecentchooserdefault.[ch]: * gtk/gtkrecentchooserdialog.[ch]: * gtk/gtkrecentchoosermenu.[ch]: * gtk/gtkrecentchooserprivate.h: * gtk/gtkrecentchooserutils.[ch]: * gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a GTypeInterface for widgets implementing viewers for recently used resources. * gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object for GtkRecentChooser implementations. * gtk/gtk.h: * gtk/gtk.symbols: * gtk/Makefile.am: Build glue for GtkRecent*.