[pitivi] timeline: Do not disable update inserting a clip at the end of the timeline
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Do not disable update inserting a clip at the end of the timeline
- Date: Sun, 28 Apr 2013 22:43:23 +0000 (UTC)
commit 3e659624eaf5ff5d8b46532b97b06e13eac345e0
Author: Thibault Saunier <thibault saunier collabora com>
Date: Mon Apr 29 00:38:12 2013 +0200
timeline: Do not disable update inserting a clip at the end of the timeline
Avoiding deadlocks, and anyway adding end is not consuming much
resources at the gnl level
pitivi/timeline/timeline.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index ea03b01..ac910fe 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -580,8 +580,6 @@ class Timeline(Gtk.VBox, Zoomable):
# Handle the case of a blank project
layer = self._ensureLayer()[0]
- self.bTimeline.enable_update(False)
-
for asset in assets:
if isinstance(asset, GES.TitleClip):
clip_duration = asset.get_duration()
@@ -597,7 +595,6 @@ class Timeline(Gtk.VBox, Zoomable):
asset.set_start(self.bTimeline.props.duration)
layer.add_clip(asset)
- self.bTimeline.enable_update(True)
if self.zoomed_fitted:
self._setBestZoomRatio()
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]