[pitivi] mainwindow: Ensure "Clip properties" is the focused context tab on startup



commit 4a01a2e5183b161dec2d77d87279001546b41b7d
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun May 19 10:28:55 2013 -0400

    mainwindow: Ensure "Clip properties" is the focused context tab on startup

 pitivi/mainwindow.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index e222bbe..2b42b31 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -425,6 +425,8 @@ class PitiviMainWindow(Gtk.Window, Loggable):
         self.secondhpaned.pack2(self.context_tabs, resize=True, shrink=False)
         self.main_tabs.show()
         self.context_tabs.show()
+        # Prevent TitleEditor from stealing the tab focus on startup:
+        self.context_tabs.set_current_page(0)
 
         # Viewer
         self.viewer = PitiviViewer(instance, undock_action=self.undock_action)


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