[pitivi] timeline: commit to the action log on drag and drop.
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: commit to the action log on drag and drop.
- Date: Wed, 17 Dec 2014 18:37:00 +0000 (UTC)
commit 98533e4e4a4e09176c87abad51356357990a12ea
Author: Mathieu Duponchelle <mathieu duponchelle opencreed com>
Date: Wed Dec 17 19:30:40 2014 +0100
timeline: commit to the action log on drag and drop.
https://bugzilla.gnome.org/show_bug.cgi?id=741668
pitivi/timeline/timeline.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index af06746..7bdbaff 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -266,11 +266,13 @@ class TimelineStage(Clutter.ScrollActor, Zoomable, Loggable):
if not placement:
placement = Zoomable.pixelToNs(ghostclip.props.x)
+ self._container.app.action_log.begin("add clip")
layer.add_asset(ghostclip.asset,
placement,
0,
clip_duration,
ghostclip.asset.get_supported_formats())
+ self._container.app.action_log.commit()
placement += clip_duration
self._project.pipeline.commit_timeline()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]