[gtk+] GtkStackSwitcher: Don't take focus on click
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkStackSwitcher: Don't take focus on click
- Date: Wed, 10 Dec 2014 01:58:36 +0000 (UTC)
commit 972ea14ef62fe69a1ec9723fdaf4a87bdd77c4e9
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 9 20:36:03 2014 -0500
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c
index a04dd67..42e41bb 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]