[pitivi] mainwindow: Pass exception messages correctly when errors occur while saving



commit cbe8acb85bff287e38f0f590bda42ae7d55149e6
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun Aug 25 11:40:21 2013 -0400

    mainwindow: Pass exception messages correctly when errors occur while saving
    
    This was a regression introduced by commit 267dd141

 pitivi/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 54e5b41..0808adf 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -864,7 +864,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
             self.recent_manager.add_item(uri)
         self.log("A NEW project is loading, deactivate UI")
 
-    def _projectManagerSaveProjectFailedCb(self, projectManager, uri, unused, exception=None):
+    def _projectManagerSaveProjectFailedCb(self, projectManager, uri, exception=None):
         project_filename = unquote(uri.split("/")[-1])
         dialog = Gtk.MessageDialog(self,
             Gtk.DialogFlags.MODAL,


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