1. 04 Apr, 2010 2 commits
  2. 27 Nov, 2009 2 commits
  3. 10 Aug, 2009 1 commit
  4. 22 Feb, 2009 1 commit
  5. 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
  6. 27 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. 29 Dec, 2008 1 commit
  9. 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
  10. 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
  11. 12 Aug, 2008 1 commit
  12. 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
  13. 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
  14. 01 Jul, 2008 1 commit
  15. 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
  16. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  17. 19 May, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkcellrenderer.c gtk/gtkcellrendererpixbuf.c · 02fd7ba0
      Michael Natterer authored
      2008-05-19  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcellrenderer.c
      	* gtk/gtkcellrendererpixbuf.c
      	* gtk/gtkcellrenderertoggle.c
      	* gtk/gtkimagemenuitem.c
      	* gtk/gtkmenutoolbutton.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtkstatusbar.c
      	* gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
      
      
      svn path=/trunk/; revision=20112
      02fd7ba0
  18. 08 Oct, 2006 1 commit
  19. 14 May, 2006 1 commit
  20. 02 May, 2006 1 commit
  21. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  22. 31 Aug, 2005 2 commits
  23. 03 Jul, 2005 1 commit
  24. 26 Mar, 2005 1 commit
  25. 22 Mar, 2005 1 commit
  26. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  27. 16 Nov, 2004 2 commits
  28. 15 Nov, 2004 2 commits
  29. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  30. 03 Jun, 2004 1 commit
    • Michael Natterer's avatar
      use gtk_widget_get_child_requisition() instead of accessing · f48ad7c0
      Michael Natterer authored
      2004-06-03  Michael Natterer  <mitch@gimp.org>
      
      	* gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition()
      	instead of accessing item->image->allocation.width/height
      	directly. Makes widgets which only have a requisition set using
      	gtk_widget_set_size_request() work and fixes bug #142789.
      f48ad7c0
  31. 06 Mar, 2004 1 commit
  32. 19 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Fixes for #82099: · add52ebb
      Matthias Clasen authored
      Thu Feb 19 23:41:06 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fixes for #82099:
      
      	* gdk/x11/gdkevents-x11.c: Introduce new XSettings "Gtk/ButtonImages"
      	and "Gtk/MenuImages" and map them to "gtk-button-images" and
      	"gtk-menu-images".
      
      	* gtk/gtkimagemenuitem.c: Add a boolean setting "gtk-menu-images" and use
      	it to set the visibility of the embedded image.
      
      	* gtk/gtkbutton.c: Add a boolean setting "gtk-button-images" and use
      	it to set the visibility of an embedded image.
      add52ebb
  33. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  34. 26 Jul, 2003 1 commit
  35. 06 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      add vertical_padding style property. · c8515b2f
      Soeren Sandmann authored
      Sat Jul  5 10:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
              * gtk/gtkmenu.c: add vertical_padding style property.
      
              * gtk/gtkmenuitem.c: add style properties toggle_spacing,
              arrow_spacing and horizontal_padding. Also center separators and
              make them a bit taller.
      
              * gtk/*menuitem.c: use new style properties.
      
              * docs/widget_geometry.txt: Add note about GtkMenuItem
      
              * gtk/gtkstyle.c
              (gtk_default_draw_vline, gtk_default_draw_hline):
              fix +/-1 errors.
      
              (gtk_default_draw_shadow): draw a black border around menus.
      
              * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix
              calls to gtk_paint_hline() and gtk_paint_vline() (they take x1,
              x2 and y1, y2 respectively, not x, width and y, height).
      c8515b2f