1. 27 Feb, 2012 1 commit
  2. 26 Sep, 2011 1 commit
  3. 10 Jun, 2011 1 commit
  4. 01 May, 2011 1 commit
  5. 11 Apr, 2011 1 commit
  6. 12 Jan, 2011 1 commit
  7. 27 Dec, 2010 1 commit
  8. 30 Oct, 2010 1 commit
  9. 27 Oct, 2010 1 commit
  10. 22 Oct, 2010 1 commit
  11. 20 Oct, 2010 1 commit
  12. 27 Sep, 2010 1 commit
  13. 26 Sep, 2010 1 commit
    • Benjamin Otte's avatar
      Move GtkSizeRequest into GtkWidget · d9c92598
      Benjamin Otte authored
      It doesn't make sense to keep them separate as GtkSizeRequest requires a
      GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
      one without the other.
      It also makes the code a lot easier because no casts are required when
      calling functions.
      
      Also, the names would translate to gtk_widget_get_width() and people
      agreed that this would be a too generic name, so a "preferred" was added
      to the names.
      
      So this patch moves the functions:
      gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
      gtk_size_request_get_width() => gtk_widget_get_preferred_width()
      gtk_size_request_get_height() => gtk_widget_get_preferred_height()
      gtk_size_request_get_size() => gtk_widget_get_preferred_size()
      gtk_size_request_get_width_for_height() =>
        gtk_widget_get_preferred_width_for_height()
      gtk_size_request_get_height_for_width() =>
        gtk_widget_get_preferred_height_for_width()
      ... and moves the corresponding vfuncs to the GtkWidgetClass.
      
      The patch also renames the implementations of the vfuncs in widgets to
      include the word "preferrred".
      d9c92598
  14. 21 Sep, 2010 1 commit
  15. 15 Sep, 2010 1 commit
  16. 13 Sep, 2010 1 commit
  17. 27 Aug, 2010 1 commit
  18. 22 Aug, 2010 1 commit
  19. 13 Jul, 2010 2 commits
  20. 10 Jul, 2010 1 commit
  21. 07 Jun, 2010 1 commit
  22. 04 Apr, 2010 2 commits
  23. 01 Mar, 2010 1 commit
  24. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      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.
      6529c076
  25. 27 Nov, 2009 2 commits
  26. 10 Aug, 2009 1 commit
  27. 22 Feb, 2009 1 commit
  28. 07 Feb, 2009 1 commit
    • Matthias Clasen's avatar
      Make the new GtkAction code work with PolicyKit-gnome's use of actions. · 70b08f1e
      Matthias Clasen authored
              * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
              the action.
      
              * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
              * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
              * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
              Work with non-toggle actions without complaining.
      
              * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
              the icon-name should not remove the label.
      
              * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
              update the image when the icon name is set to NULL.
      
      
      svn path=/trunk/; revision=22290
      70b08f1e
  29. 27 Jan, 2009 1 commit
  30. 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
  31. 29 Dec, 2008 1 commit
  32. 06 Nov, 2008 1 commit
    • Tristan Van Berkom's avatar
      added new apis gtk_menu_item_[set/get]_label() and · 70a5f538
      Tristan Van Berkom authored
      2008-11-06  Tristan Van Berkom <tvb@gnome.org>
      
      	* gtk/gtkmenuitem.[ch]: added new apis gtk_menu_item_[set/get]_label() and
      	gtk_menu_item_[set/get]_use_underline() with "label" and "use-underline"
      	properties, constructors cleaned up to use g_object_new().
      	GtkMenuItemClass take new vfuncs ->get/set_label().
      
      	* gtk/gtkcheckmenuitem.c: constructors cleaned up to use g_object_new().
      
      	* gtk/gtkimagemenuitem.[ch]: added new apis gtk_image_menu_item_[get/set]_use_stock()
      	and gtk_image_menu_item_set_accel_group() with "use-stock" and write-only
      	"accel-group" properties. constructors cleaned up to use g_object_new().
      
      
      svn path=/trunk/; revision=21766
      70a5f538
  33. 02 Nov, 2008 1 commit
    • Matthias Clasen's avatar
      Make it possible to overrule the gtk-menu-images setting. · cbc5d3e3
      Matthias Clasen authored
      2008-11-02  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkimagemenuitem.c: Make it possible to overrule the
              gtk-menu-images setting.
      
              * gtk/gtkaction.c (connect_proxy): Show the image before adding
      it to the image menu item.
      
      svn path=/trunk/; revision=21751
      cbc5d3e3
  34. 12 Aug, 2008 1 commit
  35. 07 Aug, 2008 1 commit
    • Michael Natterer's avatar
      Bug 546756 – gnome-panel crashed with SIGSEGV in · 141af56c
      Michael Natterer authored
      2008-08-07  Michael Natterer  <mitch@imendio.com>
      
      	Bug 546756 – gnome-panel crashed with SIGSEGV in
      	g_type_check_instance_cast()
      
      	* gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
      	and remove the image now that it's an internal child and isn't
      	destroyed by gtk_container_destroy() any longer. Thanks to tml for
      	helping bisecting this down.
      
      
      svn path=/trunk/; revision=21034
      141af56c
  36. 04 Aug, 2008 1 commit
    • Björn Lindqvist's avatar
      Bug 534979 – GtkImageMenuItem is a bin but has two children. · 67a8a3a2
      Björn Lindqvist authored
      2008-08-04  Björn Lindqvist  <bjourne@gmail.com>
      
      	Bug 534979 – GtkImageMenuItem is a bin but has two children.
      
      	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
      	include the image widget when iterating over non-internal
      	children. Patch by rainwoodman.
      
      svn path=/trunk/; revision=20985
      67a8a3a2
  37. 01 Jul, 2008 1 commit