[pitivi] timeline: Avoid show_all for the entire timeline when a layer is added
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Avoid show_all for the entire timeline when a layer is added
- Date: Wed, 2 Dec 2015 16:48:57 +0000 (UTC)
commit 275bd84eba9208d8686c24307955b8fa62373e91
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Oct 23 22:44:52 2015 +0200
timeline: Avoid show_all for the entire timeline when a layer is added
Differential Revision: https://phabricator.freedesktop.org/D512
Reviewed-by: Thibault Saunier <tsaunier gnome org>
pitivi/timeline/timeline.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 6ada00a..9cdcb57 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -828,6 +828,7 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
layer.connect("remove-me", self._removeLayerCb)
control = LayerControls(bLayer, self.app)
+ control.show_all()
self.__layers_controls_vbox.pack_start(control, False, False, 0)
bLayer.control_ui = control
# Check the media types so the controls are set up properly.
@@ -837,12 +838,11 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
layer_widget.pack_start(layer.before_sep, False, False, 0)
layer_widget.pack_start(layer, True, True, 0)
layer_widget.pack_start(layer.after_sep, False, False, 0)
+ layer_widget.show_all()
self.__layers_vbox.pack_start(layer_widget, True, True, 0)
bLayer.connect("notify::priority", self.__layerPriorityChangedCb)
- self.show_all()
-
def _removeLayerCb(self, layer):
self.bTimeline.remove_layer(layer.bLayer)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]