[pitivi] mainwindow: Show by default the title editor tab
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] mainwindow: Show by default the title editor tab
- Date: Fri, 28 Feb 2014 03:13:55 +0000 (UTC)
commit 2a0b4421d8eb60d1df6ded24b583ed1a1eff6c3e
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Sun Feb 23 23:34:10 2014 +0100
mainwindow: Show by default the title editor tab
pitivi/mainwindow.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index fe3769d..1a51ecb 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -401,15 +401,15 @@ class PitiviMainWindow(Gtk.Window, Loggable):
self.context_tabs.append_page(self.trans_list, Gtk.Label(label=_("Transitions")))
self.context_tabs.append_page(self.title_editor.widget, Gtk.Label(label=_("Title editor")))
self.context_tabs.connect("switch-page", self.title_editor.tabSwitchedCb)
- self.clipconfig.show()
- self.trans_list.show()
+ # Show by default the Title tab, as the Clip and Transition tabs
+ # are useful only when a clip or transition is selected, but
+ # the Title tab allows adding titles.
+ self.context_tabs.set_current_page(2)
self.secondhpaned.pack1(self.main_tabs, resize=True, shrink=False)
self.secondhpaned.pack2(self.context_tabs, resize=False, 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 = ViewerContainer(self.app, undock_action=self.undock_action)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]