[pitivi] mainwindow: Explicitely update application title when needed



commit 192bc11860a1293548625a9ca3d06d65ac0eb894
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Fri Jan 11 13:17:17 2013 -0300

    mainwindow: Explicitely update application title when needed
    
    That broke when we stopped calling _syncDoUndo(), disabling a bit more
    undo/redo

 pitivi/mainwindow.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index e48ac59..6930a38 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -787,6 +787,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
 
         #FIXME GES we should re-enable this when possible
         #self._syncDoUndo(self.app.action_log)
+        self.updateTitle()
 
         # Enable export functionality
         self.main_actions.get_action("ExportProject").set_sensitive(True)
@@ -823,6 +824,8 @@ class PitiviMainWindow(Gtk.Window, Loggable):
         # FIXME GES: Reimplement Undo/Redo
         #self.app.action_log.checkpoint()
         #self._syncDoUndo(self.app.action_log)
+        self.updateTitle()
+
         self.main_actions.get_action("SaveProject").set_sensitive(False)
         if uri:
             self.recent_manager.add_item(uri)



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