[pitivi] Make the new HPaned in cmipconfiguration working properly
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Make the new HPaned in cmipconfiguration working properly
- Date: Wed, 22 Sep 2010 13:43:16 +0000 (UTC)
commit eaa5284463b9d296237937ff84f3eeb6b0a70e2f
Author: Thibault Saunier <tsaunier gnome org>
Date: Wed Jul 21 10:22:48 2010 -0400
Make the new HPaned in cmipconfiguration working properly
pitivi/ui/clipproperties.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index f55a5d0..c835d86 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -36,6 +36,7 @@ from pitivi.receiver import receiver, handler
from pitivi.timeline.track import TrackEffect
from pitivi.stream import VideoStream
+from pitivi.ui.gstwidget import GstElementSettingsWidget
from pitivi.ui.effectsconfiguration import EffectsPropertiesHandling
from pitivi.ui.common import PADDING, SPACING
@@ -342,7 +343,7 @@ class EffectProperties(gtk.Expander):
COL_TRACK_EFFECT)
for widget in self.VContent.get_children():
- if type(widget) is gtk.ScrolledWindow:
+ if type(widget) in [gtk.ScrolledWindow, GstElementSettingsWidget]:
self.VContent.remove(widget)
element = track_effect.getElement()
@@ -350,8 +351,9 @@ class EffectProperties(gtk.Expander):
self._effect_config_ui = ui
if self._effect_config_ui:
self.VContent.pack2(self._effect_config_ui,
- resize=True,
+ resize=False,
shrink=False)
+ self.VContent.set_position(10)
self._effect_config_ui.show_all()
self.selected_on_treeview = track_effect
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]