1. 27 Feb, 2012 1 commit
  2. 19 Dec, 2011 1 commit
  3. 16 Dec, 2011 1 commit
  4. 11 Apr, 2011 1 commit
  5. 03 Mar, 2011 1 commit
  6. 27 Jan, 2011 1 commit
  7. 15 Dec, 2010 1 commit
    • Kristian Rietveld's avatar
      Clip to cell_area when rendering cell content · a28c11a2
      Kristian Rietveld authored
      This fixes a GTK+ 3.0 regression.  In GTK+ 2, the render method
      on GtkCellRenderer had a expose_area parameter, typically set to
      cell_area.  This parameter was used for clipping cell content to be
      rendered to the cell area (and thus clipping to within the focus
      rectangle).  During the rendering clean up this parameter was removed
      and no clipping put back into place.
      
      Since expose_area was usually equal to cell_area anyway, it does not make
      sense to reintroduce the expose_area parameter.  Instead, we do clipping at
      two levels:
       - in gtk_cell_renderer_render() we clip to background_area.  We cannot
      clip to cell_area here because we want to allow cell renderers to
      render in the background area (e.g. background color/effect).
       - cell renderers should clip to clip_area when rendering cell
      content individually (as they had to individually clip to expose_region
      before).
      a28c11a2
  8. 04 Oct, 2010 1 commit
  9. 26 Sep, 2010 2 commits
  10. 27 Aug, 2010 1 commit
  11. 22 Aug, 2010 1 commit
  12. 13 Jul, 2010 2 commits
  13. 10 Jul, 2010 1 commit
  14. 04 Apr, 2010 2 commits
  15. 09 Mar, 2010 1 commit
  16. 01 Mar, 2010 1 commit
  17. 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
  18. 13 Jul, 2009 1 commit
  19. 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
  20. 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
  21. 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
  22. 10 Jan, 2007 1 commit
  23. 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
  24. 14 May, 2006 1 commit
  25. 02 May, 2006 1 commit
  26. 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
  27. 14 Nov, 2005 1 commit
  28. 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
  29. 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
  30. 18 Jun, 2005 1 commit
  31. 22 Mar, 2005 1 commit
  32. 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
  33. 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
  34. 27 May, 2004 1 commit
  35. 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
  36. 06 Mar, 2004 1 commit
  37. 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