1. 10 Jul, 2010 1 commit
  2. 02 May, 2010 1 commit
  3. 04 Apr, 2010 3 commits
  4. 09 Mar, 2010 1 commit
  5. 01 Mar, 2010 2 commits
  6. 22 Feb, 2009 1 commit
  7. 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
  8. 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
  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
  10. 12 Aug, 2008 1 commit
  11. 01 Jul, 2008 1 commit
  12. 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
  13. 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
  14. 27 Jul, 2007 1 commit
    • Michael Natterer's avatar
      Fix check/radio indicator drawing mess (bug #452225): · 3c9a4ac6
      Michael Natterer authored
      2007-07-27  Michael Natterer  <mitch@imendio.com>
      	Fix check/radio indicator drawing mess (bug #452225):
      	* gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
      	indicator size by one to ensure odd size (don't say -= -1).
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	removed -1 adjustment from calls to gtk_paint_option(). Theme
      	engines now get the actually configured size passed, not one pixel
      	* gtk/gtkcellrenderertoggle.c
      	* gtk/gtkcheckmenuitem.c: changed default indicator size from 12
      	to 13 so all widgets which draw check/option indicators have the
      	same default size now (and render the same size after above
      	* README.in: mention above changes in the release notes.
      svn path=/trunk/; revision=18547
  15. 14 May, 2006 1 commit
  16. 02 May, 2006 1 commit
  17. 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().
  18. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
  19. 12 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Remove a line without effect. · eb48fdc0
      Matthias Clasen authored
      2005-08-12  Matthias Clasen  <mclasen@redhat.com>
      	* gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator):
      	Remove a line without effect.
  20. 26 Mar, 2005 1 commit
  21. 22 Mar, 2005 1 commit
  22. 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.
  23. 09 Mar, 2005 1 commit
  24. 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
  25. 06 Mar, 2004 1 commit
  26. 21 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Bug 112647 (Bill Haneman, patch by Narayana Pattipati): · b1f74e77
      Matthias Clasen authored
      Sun Feb 22 00:23:40 2004  Matthias Clasen  <maclas@gmx.de>
      	Bug 112647 (Bill Haneman, patch by Narayana Pattipati):
      	* gtk/gtkcheckmenuitem.c: Introduce a new style property
      	indicator_size and use it instead of the hardcoded value.
      	* gtk/gtkmenu.c (gtk_menu_size_request): Make sure each menu
      	item gets enough vertical space for the label and the indicator.
  27. 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_().
  28. 30 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Doc formatting tweaks. · dbdc43be
      Matthias Clasen authored
      2003-10-01  Matthias Clasen  <maclas@gmx.de>
      	* gtk/gtkmain.c: Doc formatting tweaks.
      	* gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
      	* gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
      	Use the same parameter names as in .c file, to pacify gtk-doc.
      	* gtk/gtktoggletoolbutton.[hc]:
      	* gtk/gtktoolbutton.[hc]:
      	* gtk/gtktoolitem.[hc]:
      	* gtk/gtktoolbar.[hc]:
      	* gtk/gtkcolorbutton.[hc]:
      	* gtk/gtkfontbutton.[hc]:
      	* gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
      	source, not in the header.
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
      	Document these as 2.4 API additions.
      	* gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge.
      	* gtk/gtk-sections.txt: Additions.
      	* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
  29. 29 Aug, 2003 3 commits
    • Matthias Clasen's avatar
      Also support "draw_as_radio". · 24fb8e7d
      Matthias Clasen authored
      2003-08-29  Matthias Clasen  <maclas@gmx.de>
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_get_property):
      	(gtk_check_menu_item_set_property): Also support "draw_as_radio".
    • Matthias Clasen's avatar
      Install "draw_as_radio" as a separate property, not as an alias of · 2ed71f13
      Matthias Clasen authored
      2003-08-29  Matthias Clasen  <maclas@gmx.de>
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install "draw_as_radio"
      	as a separate property, not as an alias of "inconsistent".
    • Soeren Sandmann's avatar
      Only treat buttons as homogeneous when they are narrower than 13 time the · 545b40a1
      Soeren Sandmann authored
      Fri Aug 29 20:32:07 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      	* gtk/gtktoolbar.c: Only treat buttons as homogeneous when they
      	are narrower than 13 time the estimated character width of the
      	font. (#107781, David Bordoley)
      	* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check
      	here if the GtkToggleButton is active. This may be the case if it
      	is a radio button.
      	* gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc
      	vs. void (*) (GtkWidget, gpointer). (#107495, Mariano
      	* gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio"
      	property. (#111207, David Bordoley).
      	* gtk/gtktoggletoolbutton.c
      	(gtk_toggle_tool_button_create_menu_proxy): use new
      	"draw_as_radio" property on the menu item when the item is a radio
      	tool button
      	* gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes
      	to only pay attention to the "use_underline" property when the
      	button label comes from the "label" property.
  30. 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).
  31. 04 Jun, 2003 1 commit
    • Owen Taylor's avatar
      gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): Use · c1ccc9b9
      Owen Taylor authored
      Wed Jun  4 18:27:44 2003  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
              gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator):
              (#92548, Tim Evans)
              * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator)
              gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If
              Use state_type = STATE_INSENSITIVE for insensitive menu items.
  32. 08 Nov, 2002 1 commit
  33. 05 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 8409ada9
      Manish Singh authored
      Fri Oct  4 18:40:50 2002  Manish Singh  <yosh@gimp.org>
              * gtkcheckmenuitem.[ch] gtkimagemenuitem.[ch] gtkmenu.[ch]
              gtkmenubar.[ch] gtkmenuitem.[ch] gtkmenushell.[ch]
              gtkradiomenuitem.[ch]: Deprecation cleanup
  34. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	Minor documentation fixes
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
  35. 30 Jan, 2002 1 commit