[pitivi] mainwindow: Pass correctly the uri of the project which failed loading
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] mainwindow: Pass correctly the uri of the project which failed loading
- Date: Tue, 27 Jan 2015 18:39:49 +0000 (UTC)
commit e4c85bb24cddf674d65b6075f71a46ca3e40e0b7
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Nov 25 23:40:08 2014 +0100
mainwindow: Pass correctly the uri of the project which failed loading
pitivi/mainwindow.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index d1ecbec..5aa7851 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -923,9 +923,7 @@ class PitiviMainWindow(Gtk.ApplicationWindow, Loggable):
dialog.run()
dialog.destroy()
- def _projectManagerMissingUriCb(
- self, unused_project_manager, unused_project,
- unused_error, asset):
+ def _projectManagerMissingUriCb(self, unused_project_manager, project, unused_error, asset):
self._missingUriOnLoading = True
uri = asset.get_id()
new_uri = None
@@ -1018,7 +1016,7 @@ class PitiviMainWindow(Gtk.ApplicationWindow, Loggable):
# this async operation, or the filechooser will keep showing up
# and all sorts of weird things will happen.
# TODO: bugs #661059, 609136
- attempted_uri = self.app.project_manager.current_project.uri
+ attempted_uri = project.uri
reason = _('No replacement file was provided for "<i>%s</i>".\n\n'
'Pitivi does not currently support partial projects.'
% info_name(asset))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]