Commit 972ea14e authored by Matthias Clasen's avatar Matthias Clasen

GtkStackSwitcher: Don't take focus on click

Moving the focus to the stack switcher buttons is
never what is wanted here.
parent cf4afd0e
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment