summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooser.c
Commit message (Collapse)AuthorAgeFilesLines
* GtkRecentChooser: Use G_PARAM_EXPLICIT_NOTIFYMatthias Clasen2014-06-091-54/+61
|
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-17/+17
| | | | Instead of Return value:
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-2/+2
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-3/+3
|
* docs: don't use <keycap> tagsWilliam Jon McCann2014-02-041-1/+1
|
* docs/comments: Fix spelling of 'explicitly'Volker Sobek2014-01-181-1/+1
| | | | | | | This replaces all occurrences of 'explicitely' with 'explicitly'. Only code comments and gtk-doc statements are affected. https://bugzilla.gnome.org/show_bug.cgi?id=722429
* Add missing introspection annotationsPhil Clayton2013-09-101-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=707519
* Move wholly deprecated classes to gtk/deprecated/Matthias Clasen2013-07-191-2/+2
| | | | | | | | | | | | | | | | | | We've recently a number of classes wholly. For these cases, move the headers and sources to gtk/deprecated/ and adjust Makefiles and includes accordingly. Affected classes: GtkAction GtkActionGroup GtkActivatable GtkIconFactory GtkImageMenuItem GtkRadioAction GtkRecentAction GtkStock GtkToggleAction GtkUIManager
* gtk/gtkrecentchooser.c: Avoid C99ismsChun-wei Fan2013-07-191-5/+12
| | | | | | | | | Declare variables at the top to the block. G_GNUC_BEGIN_IGNORE_DEPRECATIONS and G_GNUC_END_IGNORE_DEPRECATIONS with a ';' at the end is still considered a statement, even if these macros expand to nothing, which C89 compilers don't really like (oddly speaking)- but this is life.
* Deprecate and hardcode gtk-recent-files-limitWilliam Jon McCann2013-07-091-5/+2
| | | | | | The GtkRecentChooser already has a property that can be used to set this on a per widget basis and the recent manager already has a max-age limit.
* Deprecate GtkAction and GtkUIManagerWilliam Jon McCann2013-06-301-5/+21
| | | | It is recommended to use GAction et al and GtkBuilder.
* gtk_recent_chooser_set_filter: Allow NULL value to unset the filter.Tristan Van Berkom2013-04-061-2/+2
| | | | | | | While GtkRecentChooser implementations accept for the "filter" property to unset the current filter, the API fires an unneeded assertion. This patch removes the assertion.
* Fix malformed doc commentsMatthias Clasen2012-04-121-2/+2
| | | | | Most of these are forgotten :'s and similar details which gtk-doc now warns about.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk/*: Use g_list_free_full() convenience functionJavier Jardón2012-01-051-4/+1
|
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-2/+3
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-3/+3
|
* gtk/gtkrecentchooser.c: Use G_DEFINE_INTERFACE macroJavier Jardón2010-08-261-31/+16
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Move documentation to inline comments: GtkRecentChooserJavier Jardón2010-05-181-0/+17
|
* Remove deprecated GtkRecentChooser functionsChristian Dywan2010-05-031-66/+0
|
* [annotations] Add allow-noneJohan Dahlin2010-02-191-5/+5
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-2/+4
| | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* Rename gtk_activatable_reset to gtk_activatable_sync_action_properties,Matthias Clasen2009-02-221-8/+8
| | | | | | | | | | * gtk/gtk.symbols: * gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to gtk_activatable_sync_action_properties, since the previous name was deemed too generic. Update all implementations. svn path=/trunk/; revision=22389
* Avoid a compiler warning. Patch by Magnus Boman.Matthias Clasen2009-01-311-1/+1
| | | | | | | | | * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_use_action_appearance): Avoid a compiler warning. Patch by Magnus Boman. svn path=/trunk/; revision=22261
* Fix pltcheck issuesMatthias Clasen2009-01-231-4/+5
| | | | svn path=/trunk/; revision=22198
* i Bug 560228 – Add "action-controller" property to GtkWidgetClassMatthias Clasen2009-01-231-15/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework the way actions and proxies interact, to make the interaction less ad hoc, more extensible, and better suited for support in GUI builders like glade. To be used as a proxy, a widget must now implement the GtkActivatable interface, and GtkActivatable implementations are responsible for syncing their appearance with the action and for activating the action. All the widgets that are commonly used as proxies implement GtkActivatable now. Patch by Tristan van Berkom. * gtk/gtkactivatable.[hc]: The GtkActivatable interface. * gtk/gtkbutton.c: * gtk/gtktogglebutton.c: * gtk/gtktoolitem.c: * gtk/gtktoolbutton.c: * gtk/gtktoggletoolbutton.c: * gtk/gtkmenuitem.c: * gtk/gtkcheckmenuitem.c: * gtk/gtkimagemenuitem.c: * gtk/gtkradiomenuitem.c: * gtk/gtkrecentchooserprivate.h: * gtk/gtkrecentchooser.c: * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable. * gtk/gtkaction.[hc]: Move appearance synchronization to GtkActivatable implementations. * gtk/gtkradioaction.c: * gtk/gtkrecentaction.c: * gtk/gtktoggleaction.c: * gtk/gtkactiongroup.c: Adapt. * gtk/gtk.h: Include gtkactivatable.h * gtk/gtk.symbols: Add new functions svn path=/trunk/; revision=22195
* 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*.