[pitivi] project: Use the local instance of formatter to check can_save_uri



commit 0c50bcd6a977533f1a57266b99c627f272bfe4d9
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Wed Aug 8 22:38:12 2012 -0400

    project: Use the local instance of formatter to check can_save_uri

 pitivi/project.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 535d053..f33cad8 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -274,7 +274,7 @@ class ProjectManager(Signallable, Loggable):
             if not backup:
                 project.uri = uri
 
-        if uri is None or not ges.formatter_can_save_uri(uri):
+        if uri is None or not formatter.can_save_uri(uri):
             self.emit("save-project-failed", uri,
                     _("Cannot save with this file format."))
             return



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