[pitivi/ges: 27/287] Enable saving



commit b102c436a1d5b7e92b4f10b66ff3cde2b94c6187
Author: Mathieu Duponchelle <seeed laposte net>
Date:   Sun Aug 28 21:35:22 2011 +0200

    Enable saving

 pitivi/ui/mainwindow.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index ca5a9ed..a73d088 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -545,10 +545,10 @@ class PitiviMainWindow(gtk.Window, Loggable):
 
     def _saveProjectAsCb(self, unused_action):
         uri = self._showSaveAsDialog(self.app.current)
-        if uri is not None:
-            return self.app.projectManager.saveProject(self.project, uri, overwrite=True)
+        formatter = ges.PitiviFormatter()
+        formatter.save_to_uri(self.project.timeline, uri)
 
-        return False
+        return True
 
     def _revertToSavedProjectCb(self, unused_action):
         return self.app.projectManager.revertToSavedProject()



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