[pitivi] ui.mainwindow.py, projectmanager.py: pass factory in missing-uri signal
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] ui.mainwindow.py, projectmanager.py: pass factory in missing-uri signal
- Date: Tue, 25 Aug 2009 09:30:33 +0000 (UTC)
commit 778a36bca0b4c99ac5627b2636c3df7f2948f93f
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date: Tue Jul 28 15:10:48 2009 -0700
ui.mainwindow.py, projectmanager.py: pass factory in missing-uri signal
pitivi/projectmanager.py | 4 ++--
pitivi/ui/mainwindow.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/projectmanager.py b/pitivi/projectmanager.py
index 0f1156f..0b3c67a 100644
--- a/pitivi/projectmanager.py
+++ b/pitivi/projectmanager.py
@@ -43,7 +43,7 @@ class ProjectManager(Signallable, Loggable):
"project-saved": ["project", "uri"],
"closing-project": ["project"],
"project-closed": ["project"],
- "missing-uri": ["formatter", "uri"],
+ "missing-uri": ["formatter", "uri", "factory"],
}
def __init__(self):
@@ -190,7 +190,7 @@ class ProjectManager(Signallable, Loggable):
self.emit("new-project-failed", uri, exception)
def _formatterMissingURICb(self, formatter, uri, factory):
- return self.emit("missing-uri", formatter, uri)
+ return self.emit("missing-uri", formatter, uri, factory)
def _formatterSaveProjectFailed(self, formatter, project, uri, exception):
self._disconnectFromFormatter(formatter)
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index df1cf0b..9ca00fc 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -784,7 +784,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
dialog.destroy()
self.set_sensitive(True)
- def _projectManagerMissingUriCb(self, instance, formatter, uri):
+ def _projectManagerMissingUriCb(self, instance, formatter, uri, factory):
dialog = gtk.Dialog(_("Locate missing file..."),
self,
gtk.DIALOG_MODAL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]