[pitivi: 1/14] Set project.uri the first time we save a new project.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi: 1/14] Set project.uri the first time we save a new project.
- Date: Wed, 24 Jun 2009 13:10:20 +0000 (UTC)
commit f4842cec791d45f85e8fa388708f41a0049643f5
Author: Alessandro Decina <alessandro d gmail com>
Date: Mon Jun 15 15:31:04 2009 +0200
Set project.uri the first time we save a new project.
pitivi/ui/mainwindow.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 6c8f4a9..08f6af2 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -681,6 +681,8 @@ class PitiviMainWindow(gtk.Window, Loggable):
def _projectManagerProjectSavedCb(self, projectManager, project, uri):
self.app.action_log.checkpoint()
self._syncDoUndo(self.app.action_log)
+ if project.uri is None:
+ project.uri = uri
def _projectManagerClosingProjectCb(self, projectManager, project):
if not project.hasUnsavedModifications():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]