[pitivi/ges] medialibrary: Do not disable timeline updates when adding end
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges] medialibrary: Do not disable timeline updates when adding end
- Date: Fri, 18 May 2012 14:32:16 +0000 (UTC)
commit 6754b8948ad6023f36a0127f77c3ee636e823509
Author: Thibault Saunier <thibault saunier collabora com>
Date: Wed May 16 14:00:39 2012 -0400
medialibrary: Do not disable timeline updates when adding end
This is not necessary as they are not really expensive operations
pitivi/medialibrary.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/medialibrary.py b/pitivi/medialibrary.py
index 950bdbe..d75fc3a 100644
--- a/pitivi/medialibrary.py
+++ b/pitivi/medialibrary.py
@@ -550,7 +550,6 @@ class MediaLibraryWidget(gtk.VBox, Loggable):
def _insertEndCb(self, unused_action):
self.app.action_log.begin("add clip")
- self.app.current.timeline.enable_update(False)
# Handle the case of a blank project
self.app.gui.timeline_ui._ensureLayer()
@@ -583,7 +582,6 @@ class MediaLibraryWidget(gtk.VBox, Loggable):
if not self._sources_to_insert:
# OK, we added all the sources!
- timeline.enable_update(True)
if timeline.props.duration <= 0:
self.error("The timeline duration is still 0, which makes no sense")
self.app.current.seeker.seek(timeline.props.duration)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]