forked from AuroraMiddleware/gtk
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:
parent
cf4afd0e93
commit
972ea14ef6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user