[pitivi: 9/41] Disable updates during deletion Suggested by thiblahute.
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 9/41] Disable updates during deletion Suggested by thiblahute.
- Date: Sat, 13 Aug 2011 12:06:59 +0000 (UTC)
commit b2ce29803b89e284b2b42fffc6b76eeca018e736
Author: Benjamin M. Schwartz <bens alum mit edu>
Date: Mon Jul 11 10:03:49 2011 -0400
Disable updates during deletion
Suggested by thiblahute.
pitivi/ui/timeline.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 2d938c6..1364032 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -785,7 +785,9 @@ class Timeline(gtk.Table, Loggable, Zoomable):
def deleteSelected(self, unused_action):
if self.timeline:
self.app.action_log.begin("delete clip")
+ self.timeline.disableUpdates()
self.timeline.deleteSelection()
+ self.timeline.enableUpdates()
self.app.action_log.commit()
def unlinkSelected(self, unused_action):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]