[pitivi] ui/clipproperties.py: mak undo/redo working
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] ui/clipproperties.py: mak undo/redo working
- Date: Wed, 22 Sep 2010 13:44:27 +0000 (UTC)
commit 509005c2e8395584ca7d37e9cc3b13a38fb7fc96
Author: Thibault Saunier <tsaunier gnome org>
Date: Sun Aug 8 19:44:28 2010 -0400
ui/clipproperties.py: mak undo/redo working
pitivi/ui/clipproperties.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index c6aa4d9..290f1cf 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -236,7 +236,7 @@ class EffectProperties(gtk.Expander):
self._removeEffect(effect)
def _removeEffect(self, effect):
- self.app.action_log.begin("add effect")
+ self.app.action_log.begin("remove effect")
track = effect.track
self.timeline_object.removeTrackObject(effect)
track.removeTrackObject(effect)
@@ -248,8 +248,10 @@ class EffectProperties(gtk.Expander):
def _dragDropCb(self, unused, context, x, y, timestamp):
if self._factory:
+ self.app.action_log.begin("add effect")
self.timeline.addEffectFactoryOnObject(self._factory,
timeline_objects = [self.timeline_object])
+ self.app.action_log.commit()
self._factory = None
def _dragLeaveCb(self, unused_layout, unused_context, unused_tstamp):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]