GtkStackSwitcher: Don't take focus on click

Moving the focus to the stack switcher buttons is
never what is wanted here.
This commit is contained in:
Matthias Clasen 2014-12-09 20:36:03 -05:00
parent cf4afd0e93
commit 972ea14ef6

View File

@ -244,6 +244,7 @@ add_child (GtkWidget *widget,
priv = gtk_stack_switcher_get_instance_private (self);
button = gtk_radio_button_new (NULL);
gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (button), FALSE);
update_button (self, widget, button);