[pitivi] elements: Do not wrongly request TimelineElements height
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] elements: Do not wrongly request TimelineElements height
- Date: Thu, 11 Jun 2015 09:17:13 +0000 (UTC)
commit fb70bfd724dbb4a9a75d60e3f2ab6b6176592fc2
Author: Thibault Saunier <tsaunier gnome org>
Date: Tue May 5 21:37:48 2015 +0200
elements: Do not wrongly request TimelineElements height
We just force it with height_request now
Fixes http://phabricator.freedesktop.org/T54
pitivi/timeline/elements.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index ae750aa..f1da320 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -437,9 +437,6 @@ class VideoSource(TimelineElement):
def _getBackground(self):
return VideoBackground()
- def do_get_preferred_height(self):
- return ui.LAYER_HEIGHT / 2, ui.LAYER_HEIGHT
-
class VideoUriSource(VideoSource):
@@ -476,9 +473,6 @@ class AudioUriSource(TimelineElement):
super(AudioUriSource, self).__init__(element, timeline)
self.get_style_context().add_class("AudioUriSource")
- def do_get_preferred_height(self):
- return ui.LAYER_HEIGHT / 2, ui.LAYER_HEIGHT
-
def _getPreviewer(self):
previewer = previewers.AudioPreviewer(self._bElement)
previewer.get_style_context().add_class("AudioUriSource")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]