1. 16 Aug, 2014 2 commits
  2. 10 Jun, 2014 1 commit
  3. 09 Jun, 2014 1 commit
  4. 19 Feb, 2014 1 commit
  5. 07 Feb, 2014 1 commit
  6. 05 Feb, 2014 1 commit
  7. 10 Oct, 2013 2 commits
  8. 09 Jul, 2013 1 commit
  9. 25 Feb, 2013 1 commit
  10. 27 Feb, 2012 1 commit
  11. 19 Dec, 2011 1 commit
  12. 16 Dec, 2011 1 commit
  13. 11 Apr, 2011 1 commit
  14. 03 Mar, 2011 1 commit
  15. 27 Jan, 2011 1 commit
  16. 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
  17. 04 Oct, 2010 1 commit
  18. 26 Sep, 2010 2 commits
  19. 27 Aug, 2010 1 commit
  20. 22 Aug, 2010 1 commit
  21. 13 Jul, 2010 2 commits
  22. 10 Jul, 2010 1 commit
  23. 04 Apr, 2010 2 commits
  24. 09 Mar, 2010 1 commit
  25. 01 Mar, 2010 1 commit
  26. 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
  27. 13 Jul, 2009 1 commit
  28. 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
  29. 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
  30. 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
  31. 10 Jan, 2007 1 commit
  32. 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
  33. 14 May, 2006 1 commit
  34. 02 May, 2006 1 commit
  35. 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