1. 04 Oct, 2010 1 commit
  2. 26 Sep, 2010 2 commits
  3. 27 Aug, 2010 1 commit
  4. 22 Aug, 2010 1 commit
  5. 13 Jul, 2010 2 commits
  6. 10 Jul, 2010 1 commit
  7. 04 Apr, 2010 2 commits
  8. 09 Mar, 2010 1 commit
  9. 01 Mar, 2010 1 commit
  10. 04 Sep, 2009 1 commit
    • Kristian Rietveld's avatar
      Make toggle cell renderer follow insensitive state of widget · 4f219692
      Kristian Rietveld authored
      Likewise to other cell renderers, GtkCellRendererToggle now properly
      follows the insensitive state of the widget requesting rendering.  It
      does this by checking the state of the widget pointer, not by using
      GtkCellRendererFlags (there exists an insensitive flags).  Later on, I
      think we should move to using GtkCellRendererFlags and not the state of
      the widget requesting rendering.  Patch merged from maemo-gtk.
      4f219692
  11. 13 Jul, 2009 1 commit
  12. 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
  13. 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
  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
      	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
  15. 10 Jan, 2007 1 commit
  16. 03 Dec, 2006 1 commit
    • Kristian Rietveld's avatar
      Make sure [xy]_offset are always being initialized, fix pixbuf renderer · 817d667d
      Kristian Rietveld authored
      2006-12-03  Kristian Rietveld  <kris@gtk.org>
      
      	Make sure [xy]_offset are always being initialized, fix pixbuf
      	renderer padding.  (#108235, Sven Neuman).
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
      	(gtk_cell_renderer_pixbuf_render): add padding in _render instead
      	of _get_size.
      
      	* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
      	always initialize [xy]_offset.
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
      	ditto.
      817d667d
  17. 14 May, 2006 1 commit
  18. 02 May, 2006 1 commit
  19. 13 Jan, 2006 1 commit
    • Kristian Rietveld's avatar
      initialize the inconsistent field in the private structure, · ce5e74e1
      Kristian Rietveld authored
      2006-01-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
      	initialize the inconsistent field in the private structure,
      	(gtk_cell_renderer_toggle_class_init),
      	(gtk_cell_renderer_toggle_{set,get}_property),
      	(gtk_cell_renderer_toggle_get_size): introduce a indicator-size
      	property.
      ce5e74e1
  20. 14 Nov, 2005 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 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
  23. 18 Jun, 2005 1 commit
  24. 22 Mar, 2005 1 commit
  25. 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
  26. 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
  27. 27 May, 2004 1 commit
  28. 11 May, 2004 1 commit
    • Matthias Clasen's avatar
      Document the ::toggled signal. · 45828f50
      Matthias Clasen authored
      Tue May 11 00:38:25 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init):
      	Document the ::toggled signal.
      45828f50
  29. 06 Mar, 2004 1 commit
  30. 03 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Clip narrow columns in rtl-oriented tree views (#128089, · 6c935950
      Matthias Clasen authored
      Tue Feb  3 01:38:06 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Clip narrow columns in rtl-oriented tree views (#128089,
      	chinen@jp.ibm.com):
      
      	* gtk/gtkstyle.c (gtk_default_draw_option):
      	* gtk/gtkstyle.c (gtk_default_draw_check): Clip to the
      	given area.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
      	Use the right clip area when calling gtk_cell_renderer_render().
      	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus):
      	Use the right clip area when calling gtk_paint_focus().
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	Use the right clip area when calling gtk_paint_toggle() or
      	gtk_paint_check().
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
      	Clip to the expose_area when drawing the background rectangle.
      6c935950
  31. 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
  32. 18 Dec, 2003 1 commit
    • Kristian Rietveld's avatar
      Migrating all cell renderers to use the new instance private data · c43efa51
      Kristian Rietveld authored
      Thu Dec 18 00:57:18 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Migrating all cell renderers to use the new instance private data
      	construction.
      
      	* gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no
      	longer being used.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_init),
      	(gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property),
      	(set_cell_bg_color), (gtk_cell_renderer_render): remove old
      	GtkCellRendererInfo handling, migrate to instance private data.
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done),
      	(gtk_cell_renderer_text_start_editing): moved focus_out_id
      	from GtkCellRendererInfo to text renderer private data.
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init),
      	(gtk_cell_renderer_pixbuf_class_init),
      	(gtk_cell_renderer_pixbuf_finalize),
      	(gtk_cell_renderer_pixbuf_get_property),
      	(gtk_cell_renderer_pixbuf_set_property),
      	(gtk_cell_renderer_pixbuf_create_stock_pixbuf),
      	(gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render):
      	migrate to instance private data.
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init),
      	(gtk_cell_renderer_toggle_get_property),
      	(gtk_cell_renderer_toggle_set_property),
      	(gtk_cell_renderer_toggle_render): migrate to instance private data.
      c43efa51
  33. 23 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Fix includes. · 3a5b5a0f
      Kristian Rietveld authored
      Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
      	gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
      	gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
      3a5b5a0f
  34. 30 Sep, 2003 1 commit
    • Murray Cumming's avatar
      The render vfunc takes a GdkDrawable* instead of a GdkWindow*, because · fa7b7509
      Murray Cumming authored
      2003-09-30  Murray Cumming  <murrayc@usa.net>
      
              * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable*
              instead of a GdkWindow*, because that what it is given. The
              documentation was already correct. This should cause no API/ABI
              breakage with C compilers.
              * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c,
              gtkcellrenderertogger.c: Updated the declarations of the render vfunc
              implementation accordingly.
      fa7b7509
  35. 03 Mar, 2003 1 commit
    • Jonathan Blandford's avatar
      handle rtl code. · 0d93b643
      Jonathan Blandford authored
      Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
      	handle rtl code.
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
      
      	* gtk/gtktreeview.c: (invalidate_column),
      	(invalidate_last_column),
      	(gtk_tree_view_get_real_requested_width_from_column),
      	(gtk_tree_view_size_allocate_columns),
      	(gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
      	(gtk_tree_view_button_release_drag_column),
      	(gtk_tree_view_update_current_reorder),
      	(gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
      	(gtk_tree_view_key_press), (gtk_tree_view_header_focus),
      	(gtk_tree_view_get_background_xrange),
      	(gtk_tree_view_get_arrow_xrange),
      	(gtk_tree_view_is_expander_column),
      	(gtk_tree_view_set_column_drag_info),
      	(gtk_tree_view_move_cursor_left_right):
      	Add RTL support.
      
      	* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
      	expand flag.
      
      	* gtk/gtktreeviewcolumn.c:
      	(gtk_tree_view_column_class_init),
      	(gtk_tree_view_column_set_property),
      	(gtk_tree_view_column_get_property),
      	(gtk_tree_view_column_set_expand),
      	(gtk_tree_view_column_get_expand),
      	(gtk_tree_view_column_cell_process_action):
      	Add support for expand flag
      0d93b643
  36. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  37. 04 Dec, 2002 1 commit