[pitivi] Make importing clips from the command line with -i -a undoable (just for the sake of it).
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] Make importing clips from the command line with -i -a undoable (just for the sake of it).
- Date: Wed, 1 Jul 2009 06:47:17 +0000 (UTC)
commit c03d6c9d7946b4482c6cd2d1dbe0dc50d1a1bb26
Author: Alessandro Decina <alessandro d gmail com>
Date: Mon Jun 29 16:03:52 2009 +0200
Make importing clips from the command line with -i -a undoable (just for the sake of it).
pitivi/application.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/application.py b/pitivi/application.py
index 1a9a512..b49883c 100644
--- a/pitivi/application.py
+++ b/pitivi/application.py
@@ -299,7 +299,9 @@ class InteractivePitivi(Pitivi):
def _sourceAddedCb(self, unused_sourcelist, factory, startup_uris):
if self._maybePopStartupUri(startup_uris, factory.uri):
+ self.action_log.begin("add clip")
self.current.timeline.addSourceFactory(factory)
+ self.action_log.commit()
def _discoveryErrorCb(self, sourcelist, uri, error, debug, startup_uris):
self._maybePopStartupUri(startup_uris, uri)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]