[pitivi] Remove the redundant info label (already shown in the title)
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Remove the redundant info label (already shown in the title)
- Date: Tue, 7 Jun 2011 01:40:37 +0000 (UTC)
commit 2d9c5f40c8b5a440c32073adac53beb5eb94d892
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date: Mon Jun 6 15:10:28 2011 -0400
Remove the redundant info label (already shown in the title)
data/ui/elementsettingsdialog.ui | 40 ++++++-------------------------------
pitivi/ui/gstwidget.py | 3 --
2 files changed, 7 insertions(+), 36 deletions(-)
---
diff --git a/data/ui/elementsettingsdialog.ui b/data/ui/elementsettingsdialog.ui
index 6868849..65c73b0 100644
--- a/data/ui/elementsettingsdialog.ui
+++ b/data/ui/elementsettingsdialog.ui
@@ -61,44 +61,18 @@
</packing>
</child>
<child>
- <object class="GtkVBox" id="vbox1">
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">12</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">never</property>
+ <property name="shadow_type">in</property>
<child>
- <object class="GtkScrolledWindow" id="scrolledwindow1">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">never</property>
- <property name="shadow_type">in</property>
- <child>
- <object class="GtkViewport" id="viewport1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="resize_mode">queue</property>
- <property name="shadow_type">none</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">-1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="infolabel">
+ <object class="GtkViewport" id="viewport1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Properties For Plugin</b></property>
- <property name="use_markup">True</property>
+ <property name="resize_mode">queue</property>
+ <property name="shadow_type">none</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
</child>
</object>
<packing>
diff --git a/pitivi/ui/gstwidget.py b/pitivi/ui/gstwidget.py
index 838cce0..0a329e3 100644
--- a/pitivi/ui/gstwidget.py
+++ b/pitivi/ui/gstwidget.py
@@ -188,7 +188,6 @@ class GstElementSettingsDialog(Loggable):
self.builder.connect_signals(self)
self.window = self.builder.get_object("dialog1")
- self.infolabel = self.builder.get_object("infolabel")
self.elementsettings = GstElementSettingsWidget()
self.builder.get_object("viewport1").add(self.elementsettings)
@@ -202,9 +201,7 @@ class GstElementSettingsDialog(Loggable):
def _fillWindow(self):
# set title and frame label
self.window.set_title(_("Properties for %s") % self.factory.get_longname())
- self.infolabel.set_markup("<b>" + self.factory.get_longname() + "</b>")
self.elementsettings.setElement(self.element, self.properties)
- self.elementsettings.set_border_width(12)
def getSettings(self):
""" returns the property/value dictionnary of the selected settings """
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]