[evince] ev-toolbar: Make sure toolbar buttons don't get the focus on click



commit b8628e7c2a7655ed65231a559aa91792e22ca679
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Nov 18 11:25:05 2012 +0100

    ev-toolbar: Make sure toolbar buttons don't get the focus on click

 shell/ev-toolbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-toolbar.c b/shell/ev-toolbar.c
index 75dbaa6..dedc0cb 100644
--- a/shell/ev-toolbar.c
+++ b/shell/ev-toolbar.c
@@ -93,6 +93,7 @@ ev_toolbar_set_button_action (EvToolbar *ev_toolbar,
 {
         gtk_activatable_set_related_action (GTK_ACTIVATABLE (button), action);
         gtk_button_set_label (button, NULL);
+        gtk_button_set_focus_on_click (button, FALSE);
         gtk_widget_set_tooltip_text (GTK_WIDGET (button), gtk_action_get_tooltip (action));
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]