[rygel/config] Put the table inside an alignment
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config] Put the table inside an alignment
- Date: Tue, 28 Apr 2009 17:41:25 -0400 (EDT)
commit ef2ed6d0c95789b0a89d1331d4884db424b60a46
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 28 16:54:25 2009 +0300
Put the table inside an alignment
---
data/rygel-preferences.ui | 101 ++++++++++++++++++++++++++-------------------
1 files changed, 58 insertions(+), 43 deletions(-)
diff --git a/data/rygel-preferences.ui b/data/rygel-preferences.ui
index d184969..ed2da8f 100644
--- a/data/rygel-preferences.ui
+++ b/data/rygel-preferences.ui
@@ -22,54 +22,69 @@
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkTable" id="table1">
+ <object class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
- <property name="n_rows">2</property>
- <property name="n_columns">2</property>
+ <property name="top_padding">12</property>
+ <property name="bottom_padding">12</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">12</property>
<child>
- <object class="GtkLabel" id="ip-label">
+ <object class="GtkTable" id="table1">
<property name="visible">True</property>
- <property name="tooltip_text">The IP to advertise the UPnP MediaServer on.</property>
- <property name="label" translatable="yes">IP Adress</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <property name="column_spacing">6</property>
+ <property name="row_spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="ip-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">IP Address</property>
+ </object>
+ <packing>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="port-label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Port</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="ip-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="port-spinbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="adjustment">adjustment1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options">GTK_FILL</property>
+ </packing>
+ </child>
</object>
</child>
- <child>
- <object class="GtkLabel" id="port-label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Port</property>
- </object>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry" id="ip-entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">The IP to advertise the UPnP MediaServer on.</property>
- <property name="invisible_char">●</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="port-spinbutton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text">The port to advertise the UPnP MediaServer on. Set to 0 for dynamic port allocation.</property>
- <property name="invisible_char">●</property>
- <property name="adjustment">adjustment1</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- </packing>
- </child>
</object>
<packing>
<property name="position">0</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]