1. 13 Jul, 2010 2 commits
  2. 10 Jul, 2010 1 commit
  3. 21 May, 2010 1 commit
  4. 22 Feb, 2009 1 commit
  5. 31 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Always show images. · 0eb4425c
      Matthias Clasen authored
              * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
              Always show images.
      
      
      svn path=/trunk/; revision=22259
      0eb4425c
  6. 26 Jan, 2009 1 commit
  7. 23 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      i Bug 560228 – Add "action-controller" property to GtkWidgetClass · bb72b647
      Matthias Clasen authored
              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
      bb72b647
  8. 27 Oct, 2008 1 commit
    • Matthias Clasen's avatar
      Use C_() instead of Q_(). String change! · 5cfd0383
      Matthias Clasen authored
      2008-10-26  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkaccellabel.c:
              * gtk/gtkcalendar.c:
              * gtk/gtkcellrendereraccel.c:
              * gtk/gtkcellrendererprogress.c:
              * gtk/gtkimmulticontext.c:
              * gtk/gtkrecentchoosermenu.c:
              * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
      
      
      
      svn path=/trunk/; revision=21716
      5cfd0383
  9. 01 Jul, 2008 1 commit
  10. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      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
      fce9c8b7
  11. 18 Apr, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkicontheme.h include <gdk/gdk.h> instead of <gdk/gdkscreen.h>. · 9f1bc132
      Michael Natterer authored
      2008-04-18  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkicontheme.h
      	* gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
      	<gdk/gdkscreen.h>.
      
      	* gtk/gtkbuilderparser.c
      	* gtk/gtklinkbutton.c
      	* gtk/gtkpreview.c
      	* gtk/gtkrecentchooserdefault.c
      	* gtk/gtkrecentchoosermenu.c
      	* modules/input/gtkimcontextthai.c: remove inclusion of single
      	files from gdk, none of the includes was actually needed.
      
      
      svn path=/trunk/; revision=20023
      9f1bc132
  12. 04 Mar, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.c · fee3aa91
      Michael Natterer authored
      2008-03-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcellview.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkentrycompletion.c
      	* gtk/gtkfontbutton.c
      	* gtk/gtkiconview.c
      	* gtk/gtkobject.c
      	* gtk/gtkpaned.c
      	* gtk/gtkpreview.c: don't include "gtksignal.h".
      
      	* gtk/gtkfilefilter.c
      	* gtk/gtkrecentchoosermenu.c
      	* gtk/gtkrecentfilter.c
      	* gtk/gtktext.c: don't include "gtkobject.h".
      
      
      svn path=/trunk/; revision=19708
      fee3aa91
  13. 11 Feb, 2008 1 commit
    • Emmanuele Bassi's avatar
      Set no-show-all flag on the placeholder menu item. · 48c87e3e
      Emmanuele Bassi authored
      2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchoosermenu.c:
      	(gtk_recent_chooser_menu_constructor): Set no-show-all flag
      	on the placeholder menu item.
      
      	* tests/testrecentchoosermenu.c:
      	(create_recent_chooser_menu): Use gtk_widget_show_all() to test
      	whether the placeholder menu item gets shown.
      
      svn path=/trunk/; revision=19509
      48c87e3e
  14. 10 Jan, 2008 1 commit
  15. 14 Sep, 2007 1 commit
  16. 23 Jul, 2007 1 commit
    • Emmanuele Bassi's avatar
      Port the GtkRecentChooser default implementation widget to the new · cb388e4d
      Emmanuele Bassi authored
      2007-07-23  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
      	implementation widget to the new tooltips API, and make it look
      	like the GtkFileChooser widget in recent files mode (move the
      	full path from the widget to a tooltip on the row) to improve
      	consistency.
      
      	* gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
      	to the new tooltips API.
      
      	* tests/testrecentchooser.c:
      	* tests/testrecentchoosermenu.c: Exercise the tooltips code paths.
      
      svn path=/trunk/; revision=18526
      cb388e4d
  17. 20 Jul, 2007 1 commit
    • Matthias Clasen's avatar
      Apply a patch by Emmanuele Bassi to limit the number of shown recent · 13277b42
      Matthias Clasen authored
      2007-07-20  Matthias Clasen  <mclasen@redhat.com>
      
              Apply a patch by Emmanuele Bassi to limit the number
              of shown recent files.  (#439715)
      
              * gtk/gtksettings.c: Add a setting for the number
              of recent files to display by default.
      
              * gtk/gtkrecentchooserdefault.c:
              * gtk/gtkfilechooserdefault.c: Respect the limit.
      
              * gtk/gtkrecentmanager.c: Remove the poll timeout in
              dispose, and do not stat more often than every 5 seconds.
      
              * gtk/gtkrecentchooserutils.c:
              * gtk/gtkrecentchoosermenu.c: Cleanups
      
              * tests/testrecentchoosermenu.c: Test limits.
      
      
      svn path=/trunk/; revision=18510
      13277b42
  18. 13 Jul, 2007 1 commit
    • Matthias Clasen's avatar
      Avoid gratitious use of g_strdup_printf(). · a6f92ce4
      Matthias Clasen authored
      2007-07-13  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
              gratitious use of g_strdup_printf().
      
              * gtk/gtkrecentchooserdefault.c:
              * gtk/gtkrecentchoosermenu.c: Mark some strings for
              translation.  (#439480, Murray Cumming)
      
      
      
      svn path=/trunk/; revision=18465
      a6f92ce4
  19. 04 Jul, 2007 1 commit
    • Chris Wilson's avatar
      Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after free · 93a1d3d2
      Chris Wilson authored
      2007-07-04  Chris Wilson  <chris@chris-wilson.co.uk>
      
          * gtk/gtkrecentchoosermenu.c (idle_populate_func),
          (idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
          Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
          free in the source destroy notify. (#453033)
      
      
      svn path=/trunk/; revision=18375
      93a1d3d2
  20. 15 Mar, 2007 1 commit
    • Emmanuele Bassi's avatar
      Move filtering of the recent files list into the shared implementation; do · 4191ec6a
      Emmanuele Bassi authored
      2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchooserprivate.h:
      	* gtk/gtkrecentchooserutils.c: Move filtering of the recent
      	files list into the shared implementation; do the filtering
      	before the sorting, so that we always clamp on the desired
      	size. (#418219)
      
      	* gtk/gtkrecentchoosermenu.c: Remove the filtering of the
      	list, as it's already been done.
      
      	* gtk/gtkrecentchooserdefault.c: Ditto; also remove the
      	GtkTreeModelFilter: just reload the view if the sorting and
      	filtering properties change.
      
      	* gtk/testrecentchoosermenu.c: Exercise the limit property.
      
      svn path=/trunk/; revision=17516
      4191ec6a
  21. 14 Mar, 2007 1 commit
    • Emmanuele Bassi's avatar
      Various clean ups in the GtkRecent code. (see #338843) · 86ea351b
      Emmanuele Bassi authored
      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
      86ea351b
  22. 10 Feb, 2007 1 commit
  23. 09 Feb, 2007 1 commit
    • Emmanuele Bassi's avatar
      Add support for both prepending and appending custom menu items. · 4a559d6e
      Emmanuele Bassi authored
      2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchoosermenu.c: Add support for both prepending
      	and appending custom menu items.
      
      	(gtk_recent_chooser_menu_constructor): Add a placeholder menu
      	item for the empty menu case, and for giving us a starting
      	point for the recent items populating process.
      
      	(gtk_recent_chooser_menu_insert_item),
      	(gtk_recent_chooser_menu_dispose_items): Insert an item at
      	the position following the placeholder (and find that position
      	if needed).
      
      	(idle_populate_func), (idle_populate_clean_up): Show the
      	placeholder menu item, instead of creating one each time.
      
      	(gtk_recent_chooser_menu_populate): Kill some indirections
      	and hide the placeholder before populating the menu.
      
      	(set_recent_manager): Remember to remove the idle population
      	source if the manager changes.
      
      	* tests/testrecentchoosermenu.c: Test the appending and
      	prepending of the menu items to the recent chooser menu
      	widget.
      
      svn path=/trunk/; revision=17281
      4a559d6e
  24. 08 Feb, 2007 1 commit
    • Emmanuele Bassi's avatar
      Keep count of the displayed items to build the menu items mnemonic instead · ada17822
      Emmanuele Bassi authored
      2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
      	of the displayed items to build the menu items mnemonic instead
      	of the overall item count. (#377164)
      
      	(idle_populate_clean_up): Append a menu item if all the items
      	got filtered in the idle populate function. (#405696)
      
      svn path=/trunk/; revision=17277
      ada17822
  25. 15 Jan, 2007 1 commit
  26. 08 Jan, 2007 1 commit
  27. 31 Dec, 2006 2 commits
  28. 22 Dec, 2006 1 commit
  29. 16 Nov, 2006 2 commits
  30. 08 Oct, 2006 1 commit
  31. 29 Aug, 2006 1 commit
  32. 18 Aug, 2006 1 commit
  33. 14 Aug, 2006 1 commit
    • Emmanuele Bassi's avatar
      Add a check on the filter argument, instead of blindly passing it to · e4f6c9d4
      Emmanuele Bassi authored
      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)
      e4f6c9d4
  34. 10 Aug, 2006 1 commit
    • Emmanuele Bassi's avatar
      Remove the idle source in ::finalize... · 490bdc1d
      Emmanuele Bassi authored
      2006-08-10  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchoosermenu.c:
      	(gtk_recent_chooser_menu_finalize): Remove the idle
      	source in ::finalize...
      
      	(idle_populate_func),
      	(idle_populate_clean_up): ...and reset the idle source
      	id at the end of the idle loop while we hold the GDK mutex
      	lock. (#350605, reported by Wouter Bolsterlee, patch by
      	Chris Wilson)
      490bdc1d
  35. 06 Aug, 2006 1 commit
    • Emmanuele Bassi's avatar
      Show non existing resources by default. (recent_meta_data_func): Do not · 9dd4f220
      Emmanuele Bassi authored
      2006-08-07  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchooserdefault.c:
      	(_gtk_recent_chooser_default_init): Show non existing
      	resources by default.
      	(recent_meta_data_func): Do not mark non existing
      	resources as insensitive.
      
      	* gtk/gtkrecentchoosermenu.c:
      	(gtk_recent_chooser_menu_init): Show non existing
      	resources by default.
      	(gtk_recent_chooser_menu_create_item): Do not mark
      	non existing resources as insensitive.
      9dd4f220
  36. 03 Aug, 2006 1 commit
    • Emmanuele Bassi's avatar
      Lazily populate the menu when creating it and after the manager emits the · cace1bce
      Emmanuele Bassi authored
      2006-08-03  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchoosermenu.c:
      	(set_recent_managet), (gtk_recent_chooser_menu_populate),
      	(idle_populate_func), (idle_populate_clean_up),
      	(manager_changed_cb): Lazily populate the menu when creating
      	it and after the manager emits the "changed" signal; this
      	fixes the initial bad placing of the GtkRecentChooserMenu
      	widget when its set as the menu of a GtkMenuToolButton.
      
      	(gtk_recent_chooser_menu_map),
      	(gtk_recent_chooser_menu_class_init): Remove the ::map method
      	override, since it's not needed anymore.
      cace1bce
  37. 20 Jul, 2006 1 commit