[pitivi] mainwindow: Don't allow the Save button to keep focus when clicked



commit 8763b881e967826f45e16ec931f1db4e1ad4c9d2
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Thu Jul 9 23:10:56 2015 +0200

    mainwindow: Don't allow the Save button to keep focus when clicked
    
    Summary: Depends on D252
    
    Reviewers: Mathieu_Du, aleb
    
    Differential Revision: https://phabricator.freedesktop.org/D253

 pitivi/mainwindow.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 169b47a..30847f5 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -442,6 +442,7 @@ class PitiviMainWindow(Gtk.ApplicationWindow, Loggable):
             "document-save", Gtk.IconSize.LARGE_TOOLBAR)
         self.save_button.set_always_show_image(True)
         self.save_button.set_label(_("Save"))
+        self.save_button.set_focus_on_click(False)
 
         render_icon = Gtk.Image.new_from_file(
             os.path.join(get_pixmap_dir(), "pitivi-render-24.png"))


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