diff options
author | Michael Natterer <mitch@imendio.com> | 2007-07-27 12:11:07 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2007-07-27 12:11:07 +0000 |
commit | 3c9a4ac633c64b6626186866a090ab1ffa2a1635 (patch) | |
tree | df2652a8643999ddf68bfd1b6b7c206859055508 /README.in | |
parent | c919e2183df47a108dd55692ff0c65f0c216b021 (diff) | |
download | gtk+-3c9a4ac633c64b6626186866a090ab1ffa2a1635.tar.gz |
Fix check/radio indicator drawing mess (bug #452225):
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
Diffstat (limited to 'README.in')
-rw-r--r-- | README.in | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -117,6 +117,19 @@ Release notes for 2.12 * gtk_menu_item_remove_submenu() has been deprecated in favour of gtk_menu_item_set_submenu (..., NULL). +* gtk_default_draw_check() has been fixed to really decrease the + indicator size by one pixel to ensure an odd size instead of + accidentially increasing it. + Consequently, gtk_cell_renderer_toggle_render() could be fixed to + not subtract 1 from the size passed to gtk_paint_option(), which + was just a workaround for above off-by-two for even sizes (theme + engines now get the real indicator size passed). + The default toggle size of GtkCheckMenuItem and GtkCellRendererToggle + has been changed to 13 to be consistent with GtkCheckButton. + The only visible change with default settings is that the indicator in + GtkCellRendererToggle has changed its size from 11 to 13 and is now + consistent with menus and toggle buttons. + Release notes for 2.10 ====================== |