GNOME Bugzilla – Bug 74830
GtkCheckButton doesn't draw focus when it doesn't have a child
Last modified: 2011-02-04 16:11:52 UTC
when interior_focus is TRUE and the GtkCheckButton doesn't have a child widget, it doesn't draw focus.
Created attachment 7193 [details] [review] A fix that draws the focus around the checkbutton when there is no child.
What's the use case for check buttons without children?
Nautilus uses them in the file properties dialog, in the permissions tab.
Move open bugs from milestones 2.0.[012] -- > 2.0.3, since 2.0.2 is already out.
Glade also uses them besides optional properties, so I'd like to see the patch go in.
*** Bug 87919 has been marked as a duplicate of this bug. ***
Owen, did this fix go into one of the recent gtk releases, or did I just imagine it...? :/
Calum: note the sun_patches keyword. I've now gone ahead and made this change for the HEAD branch. I needed somewhat more extensive changes than the original patch... too much space was being allocated and the indicator was positioned in the wrong place. I also added tests for check and radio buttons to testgtk.c. 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.
Created attachment 11645 [details] [review] patch as applied