1. 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
  2. 27 Jun, 2007 1 commit
  3. 04 Jun, 2007 1 commit
  4. 03 Jun, 2007 2 commits
    • Emmanuele Bassi's avatar
      Add gtk_radio_button_set_value(), gtk_radio_button_get_current_value() and · 1fff6b4f
      Emmanuele Bassi authored
      2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkradiobutton.h:
      	* gtk/gtkradiobutton.c:
      	* gtk/gtk.symbols: Add gtk_radio_button_set_value(),
      	gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
      	Use these functions to set and get an arbitrary integer associated to
      	a GtkRadioButton in a group, like the value associated to a
      	GtkRadioAction.
      
      	* tests/testgtk.c:
      	(create_radio_buttons), (radio_toggled_cb): Exercise the new API.
      
      svn path=/trunk/; revision=18019
      1fff6b4f
    • Matthias Clasen's avatar
      Fix typo · 59624808
      Matthias Clasen authored
      svn path=/trunk/; revision=18013
      59624808
  5. 28 Feb, 2007 1 commit
  6. 14 Jan, 2007 1 commit
  7. 16 Nov, 2006 2 commits
    • Michael Natterer's avatar
      don't use gtk_widget_keynav_failed(). Instead, look at · af0da9f2
      Michael Natterer authored
      2006-11-16  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
      	gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
      	and gtk-keynav-wrap-around and wrap around, beep or continue outside
      	the group manually (bug #322640).
      af0da9f2
    • Michael Natterer's avatar
      Add new infrastructure for notifications of failed keyboard navigation and · 7f374a74
      Michael Natterer authored
      2006-11-16  Michael Natterer  <mitch@imendio.com>
      
      	Add new infrastructure for notifications of failed keyboard
      	navigation and navigation with restricted set of keys.
      
      	The patch handles configurable beeping, navigating the GUI with
      	cursor keys only (as in phone environments), and configurable
      	wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
      	and #309291.
      
      	* gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
      	gtk-keynav-wrap-around and gtk-error-bell.
      
      	* gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
      	API to emit it. Added New function gtk_widget_error_bell() which
      	looks at the gtk-error-bell setting and calls gdk_window_beep()
      	accordingly.
      
      	* gtk/gtk.symbols: add the new widget symbols.
      
      	* gtk/gtkcellrendereraccel.c
      	* gtk/gtkimcontextsimple.c
      	* gtk/gtkmenu.c
      	* gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
      	gtk-error-bell setting instead of calling gdk_display_beep()
      	unconditionally.
      
      	* gtk/gtkcombobox.c
      	* gtk/gtkentry.c
      	* gtk/gtkiconview.c
      	* gtk/gtklabel.c
      	* gtk/gtkmenushell.c
      	* gtk/gtkspinbutton.c
      	* gtk/gtktextview.c
      	* gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
      
      	* gtk/gtkentry.c
      	* gtk/gtklabel.c
      	* gtk/gtkrange.c
      	* gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
      	cursor navigation and leave the widget if it returns FALSE.
      
      	* gtk/gtkmenushell.c
      	* gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
      	is TRUE.
      
      	* gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
      	whether to to wrap-around, and don't select active items on cursor
      	navigation if gtk-keynav-cursor-only is TRUE. Should look at
      	gtk-keynav-wrap-around too, will look into that.
      7f374a74
  8. 08 Oct, 2006 1 commit
  9. 14 May, 2006 1 commit
  10. 02 May, 2006 1 commit
  11. 22 Feb, 2006 1 commit
  12. 13 Sep, 2005 1 commit
  13. 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
  14. 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
  15. 29 Apr, 2005 1 commit
  16. 03 Apr, 2005 1 commit
    • Matthias Clasen's avatar
      Add a "group" property like the one found in radio buttons. · 0908bbcd
      Matthias Clasen authored
      2005-04-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkradiomenuitem.c: Add a "group" property like
      	the one found in radio buttons.
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix
      	a typo in the docs.
      	(gtk_radio_button_set_group): Add change notification.
      0908bbcd
  17. 26 Mar, 2005 1 commit
  18. 22 Mar, 2005 1 commit
  19. 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
  20. 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
  21. 23 Jul, 2004 1 commit
  22. 06 Mar, 2004 1 commit
  23. 26 Feb, 2004 2 commits
    • Owen Taylor's avatar
      hu Feb 26 15:43:43 2004 Owen Taylor <otaylor@redhat.com> · 0459484c
      Owen Taylor authored
              * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
              in a simplified form as gtk_draw_insertion_cursor().
              (#99031, request from Alex Larsson)
      
              * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
              Adapt to new gtk_draw_insertion_cursor().
      
              * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
              gtk/gtkstyle.c (gtk_style_class_init): Add some missed
              Since: 2.4.
      
              * gtk/gtkiconfactory.c (icon_size_settings_changed)
                gtk/gtkicontheme.c (do_theme_change)
                gtk/gtkrc.c (_gtk_rc_context_get_default_font_name)
              * gtk/gtksettings.c (gtk_settings_notify):
              _gtk_rc_reset_styles => gtk_rc_reset_styles.
      0459484c
    • Owen Taylor's avatar
      Add a ::group-changed signal emitted when the radio button/menu item is · 0be6a2bb
      Owen Taylor authored
      Wed Feb 25 19:11:31 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkradiobutton.[ch] gtk/gtkradiomenuitem.[ch]: Add a
              ::group-changed signal emitted when the radio button/menu item
              is moved from one group of radio buttons to another.
              (#79563, based partially on a patch from Padraig O'Briain)
      0be6a2bb
  24. 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
  25. 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
  26. 10 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator) · ee6029e7
      Soeren Sandmann authored
      Sun Nov 10 21:29:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
      	* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
      
      	Make sure check and option marks are drawn insensitive when the
      	widgets are insensitive.
      
      	(#92548, patch from Tim Evans)
      
      Sun Nov 10 21:25:04 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8
      	to restore binary compatibility.
      ee6029e7
  27. 17 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Make the widgets work reasonably when they don't have children -- draw the · de89785a
      Owen Taylor authored
      Thu Oct 17 16:13:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make
              the widgets work reasonably when they don't have
              children -- draw the focus around the indicator,
              and position the indicator symmetrically.
              (#74830, Dave Camp)
      
              * tests/testgtk.c: Add no-child portions to check and radio
              button tests.
      de89785a
  28. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 53620226
      Manish Singh authored
      Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup
      
              * gtk/Makefile.am: Added disable deprecation flags
      
              * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up
      53620226
  29. 02 Mar, 2002 1 commit
  30. 22 Feb, 2002 1 commit
  31. 30 Jan, 2002 1 commit
  32. 04 Dec, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Bill Haneman (with many modifications) to make the focus color · 7537825b
      Owen Taylor authored
      Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Patch from Bill Haneman (with many modifications) to make
      	the focus color work on dark themes and to make the
      	focus line width configurable. (#61079, #63074)
      
              * gtk/gtkwidget.c: Add style properties,
      	::focus-widget, ::focus-line-width, and ::focus-padding.
      
      	* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a
      	state argument as well so we can use fg[STATE] to
      	draw instead of always drawing with black.
      	Cange paint_focus() to respect GtkWidget::focus-width
      	and GtkWidget::focus-line-pattern. Fix continuity
      	problem where the default 1-1 stipple had a blob
      	in one corner and a gap in the other. Change the
      	interpretation of x/y/width/height to be the bounding
      	box of the focus rect instead of the rectangle
      	passed to gdk_draw_rectangle.
      
      	* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c
      	gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c
      	gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width
      	and ::focus-line-padding.
      
      	* gtk/gtkentry.c: Handle :;focus-width property; cleanup
      	and remove duplicated code; fix drawing of focus rectangle
      	when interior-focus = FALSE. (#63072, #63073)
      
      	* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
      	gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
      	Range and TreeViewColumn will need more extensive fixing.
      
      	* gtk/gtkcolorsel.c: Honor focus line attributes when
      	drawing the focus on the color swatches. (#63071)
      
      	* gtk/gtkhsv.c: Honor focus line attributes when
      	drawing the focus for the ring and triangle.
      
      	* docs/widget_geometry.txt: Start at documenting how
      	various widgets are drawn.
      
      	* gtk/gtkbutton.c (_gtk_button_paint): Export
      	_gtk_button_paint() librarywide, so we don't have
      	duplicate a bunch of code in gtktogglebutton.c.
      
      	* gtk/gtktogglebutton.c: Use _gtk_button_paint().
      7537825b
  33. 19 Nov, 2001 1 commit
  34. 16 Nov, 2001 1 commit
    • jacob berkman's avatar
      add some no-indicator radio buttons · 8d99d6af
      jacob berkman authored
      2001-11-16  jacob berkman  <jacob@ximian.com>
      
      	* tests/testgtk.c (create_radio_buttons): add some no-indicator
      	radio buttons
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_init): since we are
      	initially active, also initially be depressed
      	(gtk_radio_button_clicked): also update our depressed state
      8d99d6af
  35. 10 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, · 79e4b185
      Matthias Clasen authored
              * gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c,
              gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c,
              gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs.
              (#63544, #57007, #64141, #63472, #57108, #60818, #61562)
      
              * gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml,
              gtk/tmpl/gtkentry.sgml, gtk/tmpl/gtkhscrollbar.sgml,
              gtk/tmpl/gtkvscrollbar.sgml, gtk/tmpl/gtktoolbar.sgml,
              gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkstatusbar.sgml:
              Mass fixing of trivial doc bugs. (#55579, #56760, #58769, #55918,
              #64154, #60422, #54697)
      79e4b185
  36. 16 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Add a utility function to translate coordinates relative to one widget's · 1ebe3b51
      Owen Taylor authored
      Tue Oct 16 15:50:03 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_translate_coordinates): Add
      	a utility function to translate coordinates relative to
      	one widget's allocation to coordinates relative to another
      	widget's allocation.
      
      	* gtk/gtkradiobutton.c: Add a special ->focus() implementation
      	that:
      	 - only accepts external focus if there is no active
         	   member of the group or the button is active.
      	 - makes arrow keys move the active button as well
      	   as the focus
      	 - make tab tab out directly.
      	This makes a radio button group act as a single focus location.
      	(#53577).
      
      	* gtk/gtkcontainer.c (gtk_container_focus): Remove prefiltering -
      	it was only a small optimization that didn't matter and made
      	things more complicated.
      
      	* gtk/gtkcontainer.c (gtk_container_focus_tab): Get rid of custom
      	sorter for FOCUS_TAB as we did for the other focus directions,
      	sort by center of widgets, not upper-left corner. (Shouldn't
      	matter in general.)
      
      	* gtk/gtkcontainer.c: Restructure code to remove duplicate code
      	from the different types of focusing: encapsulate sorting the
      	widgets for the focus direction into one routine
      	(gtk_container_focus_sort()) and then share the work of moving the
      	focus between the different focus directions.
      
      	* gtk/gtkcontainer.c: Fix bug where arrow navigation might not
      	work correctly with focus chains containing non-immediate
      	children. Sorting was being done using allocation coordinates for
      	each widget in the focus chain, and if there were intermediate
      	window-widgets, these allocations would not be in the same
      	coordinate system.
      1ebe3b51
  37. 21 Sep, 2001 1 commit