1. 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
  2. 12 Aug, 2008 1 commit
  3. 01 Jul, 2008 1 commit
  4. 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
  5. 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
  6. 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
      	less.
      
      	* 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
      	changes).
      
      	* README.in: mention above changes in the release notes.
      
      
      svn path=/trunk/; revision=18547
      3c9a4ac6
  7. 14 May, 2006 1 commit
  8. 02 May, 2006 1 commit
  9. 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
  10. 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.
      c09cc893
  11. 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.
      eb48fdc0
  12. 26 Mar, 2005 1 commit
  13. 22 Mar, 2005 1 commit
  14. 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
  15. 09 Mar, 2005 1 commit
  16. 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
  17. 06 Mar, 2004 1 commit
  18. 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.
      b1f74e77
  19. 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
  20. 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.
      dbdc43be
  21. 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".
      24fb8e7d
    • 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".
      2ed71f13
    • 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
      	Suarez-Alvarez).
      
      	* 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.
      545b40a1
  22. 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
  23. 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):
              Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE
              (#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.
      c1ccc9b9
  24. 08 Nov, 2002 1 commit
  25. 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
      8409ada9
  26. 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/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.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,
      	gtk/gtkwindow.c:
      
      	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;
      	 #73306)
      77eee887
  27. 30 Jan, 2002 1 commit
  28. 28 Jan, 2002 1 commit
  29. 28 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Notify on the ::active property _here_, not in · 488463ef
      Owen Taylor authored
      Tue Nov 27 20:17:55 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
      	Notify on the ::active property _here_, not in
      	gtk_check_menu_item_set_active.
      488463ef
  30. 17 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
  31. 16 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make Menu items NO_WINDOW widgets. · 1431d765
      Owen Taylor authored
      Fri Nov 16 00:16:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c,
      	gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items
      	NO_WINDOW widgets.
      
      	* gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some
      	cleanup.
      
      	* gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume
      	we are drawing in a window when drawing the paned handle.
      1431d765
  32. 18 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
  33. 24 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fix stupid error introduced last night that was making things decidedly · cc223eef
      Owen Taylor authored
      Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
      	introduced last night that was making things decidedly not work.
      
      	* gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters
      	so that we have getter/setter pairing everywhere it makes
      	sense. (#55767)
      
      	* gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.:
      	Rename gtk_radio_button_group to gtk_radio_button_get_group, add a
      	deprecated compat macro. (#55516)
      
      	* gtk/gtklabel.[ch]: Add functions
      	gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(),
      	gtk_label_set_label(), which mirror the property API for GtkLabel.
      	Make gtk_label_get_attributes() only reflect the attributes
      	set by gtk_label_set_attributes.
      
      	* gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename
      	from gtk_notebook_set_page().
      cc223eef
  34. 05 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Use new mnemonic convenience functions · 8fd5c30b
      Havoc Pennington authored
      2001-06-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkcolorsel.c: Use new mnemonic convenience functions
      
      	Applying patch from Jeff Franks, with function docs added.
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_new_with_mnemonic):
      	remove call to set_mnemonic_widget, change docs a bit.
      
      	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_new_with_mnemonic): new function
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): new
      	function
      	(gtk_radio_button_new_with_mnemonic_from_widget): new function
      
      	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtktogglebutton.c (gtk_toggle_button_new_with_mnemonic): new
      	function
      
      	* gtk/gtklabel.c (gtk_label_new_with_mnemonic): Improve docs on
      	auto-selection of mnemonic widget.
      8fd5c30b
  35. 29 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Add missing NULL on valist. · 1586ade9
      Owen Taylor authored
      Wed Mar 28 19:20:43 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testtext.c (create_buffer): Add missing NULL on
      	valist.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Fix
      	c-n-p problem with INCONSISTENT property.
      
              [ Patch from Havoc Pennington  <hp@redhat.com> ]
      
      	* gtk/gtkentry.h (struct _GtkEntryClass): add same populate_popup
      	hook.
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): add populate_popup
      	signal as a hook for extending the default popup menu
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	use radio menu items for the input method menuitems
      
      	* gtk/gtkimcontextsimple.c (check_hex): do better validation of
      	inserted unicode from Ctrl-Shift-hex input method
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert): remove utf8
      	validatation here, already done at GtkTextBuffer level.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): add binding set, add
      	popup_menu run action signal and Shift+F10 and Menu keybindings.
      
      	* gtk/gtkentry.c: implement a default handler for popup_menu
      
      	* gtk/gtktextview.c: implement a default handler for popup_menu
      
      	* gtk/gtkmenu.c (gtk_menu_popup): select first item if popup is
      	from a key event
      
      	* gtk/gtklabel.c: remove "trailer" cruft
      1586ade9
  36. 23 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      Apply property patch from Lee Mallabone · dc0cd67d
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkhandlebox.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkbox.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkcheckmenuitem.c: Apply property patch from Lee Mallabone,
      	and deprecated gtk_check_menu_item_set_show_toggle().
      
      	* gtk/gtkbutton.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkfilesel.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkframe.c: Apply property patch from Lee Mallabone
      dc0cd67d
  37. 19 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      test was backward, so deprecated functions were excluded by default · f4fa22da
      Havoc Pennington authored
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/gdkcolor.h: test was backward, so deprecated functions were
      	excluded by default
      
      	* gtk/gtkstyle.c (gtk_default_draw_diamond): draw etched in/out,
      	clean up the old code a bit
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): draw
      	inconsistent state
      
      	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator):
      	draw inconsistent state
      
      	* gtk/testgtk.c (create_toggle_buttons): add test for inconsistent
      	(create_menu): add inconsistent test
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_inconsistent):
      	new function
      	(gtk_check_menu_item_get_inconsistent): new function
      	(gtk_real_check_menu_item_draw_indicator): draw the inconsistent
      	state (using etched in for now)
      
      	* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
      	draw inconsistent state
      
      	* gtk/gtktogglebutton.c (gtk_toggle_button_set_inconsistent): new
      	function, used when the user has selected a range of stuff in
      	different states
      	(gtk_toggle_button_get_inconsistent): accessor for that
      	(gtk_toggle_button_paint): draw inconsistent state (etched in?
      	don't know what else to do)
      f4fa22da
  38. 13 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      fix bug where it always set the foreground, even if we were only using a · 2097d764
      Havoc Pennington authored
      2001-02-12  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/gdkpango.c (gdk_pango_get_gc): fix bug where
      	it always set the foreground, even if we were only using
      	a stipple.
      	(gdk_draw_layout_line_with_colors): new function, allow
      	override colors
      	(gdk_draw_layout_with_colors): new function, allow override
      	colors
      	(gdk_pango_layout_line_get_clip_region): function to get the clip
      	region for a logical text range
      	(gdk_pango_layout_get_clip_region): get the clip region for a
      	logical text range
      
      	* gdk/x11/gdkcolor-x11.c: forward declare gdk_colormap_sync(),
      	(gdk_colormap_new): fix call to gdk_colormap_sync() so it has
      	the right number of arguments.
      
      	* gtk/gtktextbtree.c (gtk_text_btree_node_check_consistency):
      	enhance the function to check that node data corresponds to a
      	view still belonging to the tree.
      
      	* gtk/gtktreeview.c (gtk_tree_view_changed): we were leaking the
      	GtkTreePath
      	(gtk_tree_view_inserted): ditto
      	(gtk_tree_view_child_toggled): ditto
      
      	* gtk/gtktreemodel.c (gtk_tree_path_append_index): use realloc to
      	simplify this code.
      
      	* gtk/gtkcellrenderertext.c (get_layout): fix leak of
      	a PangoAttrList
      
      	* demos/gtk-demo/main.c (load_file): Fix leak of a GString
      
      	* gtk/gtkentry.c (gtk_entry_realize): Fix leak of a GdkCursor
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_size_request): consider toggle
      	size in the size request
      	(gtk_menu_bar_size_allocate): consider toggle size here
      
      	* gtk/gtkimagemenuitem.h, gtkimagemenuitem.c: Menu item
      	that displays a widget in the toggle slot
      
      	* gtk/testgtk.c: test GtkImageMenuItem
      
      	* gtk/Makefile.am, gtk/gtk.h: Add GtkImageMenuItem
      
      	* gtk/gtkmenuitem.h: Use "gint" not "guint16" for toggle size
      	request and allocation
      
      	* gtk/gtkmenu.c (gtk_menu_size_request): use gint not guint16
      
      	* gtk/gtkcheckmenuitem.c
      	(gtk_check_menu_item_toggle_size_request): ditto
      2097d764