[pitivi/ges] project: Reset "time_loaded" when _projectLoadedCb is called
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges] project: Reset "time_loaded" when _projectLoadedCb is called
- Date: Thu, 29 Mar 2012 02:00:16 +0000 (UTC)
commit 7c0183f411d5f1bbf28695328d898f01e062e51c
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Wed Mar 28 21:59:56 2012 -0400
project: Reset "time_loaded" when _projectLoadedCb is called
Prevents errors when loading a project from the commandline.
pitivi/project.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 3bf3030..5b2700b 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -378,6 +378,7 @@ class ProjectManager(Signallable, Loggable):
def _projectLoadedCb(self, formatter, timeline):
self.debug("Project Loaded")
self.emit("new-project-loaded", self.current)
+ self.time_loaded = time()
self.current.medialibrary.addUris(self.formatter.get_sources())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]