GNOME Bugzilla – Bug 739474
radiobutton: don't consider hidden buttons in the group for focus
Last modified: 2014-11-01 17:10:24 UTC
See attached patch.
Created attachment 289764 [details] [review] radiobutton: don't consider hidden buttons in the group for focus When a GtkRadioButton has no focus, it will accept it when there is no other active button in its group. If the active button in the group is hidden, for example because the UI desires not to have a default option pre-selected, currently the focus will not be accepted, which is not desired behavior. This commit changes the code to only consider visible buttons in the group when checking whether another button is active.
Review of attachment 289764 [details] [review]: ok
Thanks for the review. Attachment 289764 [details] pushed as 276a510 - radiobutton: don't consider hidden buttons in the group for focus