From 972ea14ef62fe69a1ec9723fdaf4a87bdd77c4e9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 9 Dec 2014 20:36:03 -0500 Subject: [PATCH] GtkStackSwitcher: Don't take focus on click Moving the focus to the stack switcher buttons is never what is wanted here. --- gtk/gtkstackswitcher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c index a04dd67132..42e41bbd75 100644 --- a/gtk/gtkstackswitcher.c +++ b/gtk/gtkstackswitcher.c @@ -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);