[Xfce4-commits] [xfce/xfce4-power-manager] 22/64: Improve alignment of settings dialog

noreply at xfce.org noreply at xfce.org
Mon May 26 06:00:17 CEST 2014


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 32b18a03a7797c1edfa9153774db38da45dd2dc4
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Fri May 2 23:32:28 2014 +0200

    Improve alignment of settings dialog
---
 data/interfaces/xfpm-settings.ui |   55 +++++++++++++++++++++++---------------
 1 file changed, 34 insertions(+), 21 deletions(-)

diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui
index 83f229b..e0b3f2f 100644
--- a/data/interfaces/xfpm-settings.ui
+++ b/data/interfaces/xfpm-settings.ui
@@ -44,9 +44,7 @@
                           </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_padding">3</property>
                           </packing>
                         </child>
@@ -64,9 +62,7 @@
                           </object>
                           <packing>
                             <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
                             <property name="top_attach">3</property>
-                            <property name="bottom_attach">4</property>
                             <property name="y_padding">3</property>
                           </packing>
                         </child>
@@ -96,9 +92,7 @@
                           </object>
                           <packing>
                             <property name="left_attach">1</property>
-                            <property name="right_attach">2</property>
                             <property name="top_attach">2</property>
-                            <property name="bottom_attach">3</property>
                             <property name="y_padding">3</property>
                           </packing>
                         </child>
@@ -216,7 +210,7 @@
                     <property name="n_rows">6</property>
                     <property name="n_columns">3</property>
                     <property name="row_spacing">6</property>
-                    <property name="column_spacing">6</property>
+                    <property name="column_spacing">12</property>
                     <child>
                       <placeholder/>
                     </child>
@@ -230,6 +224,7 @@
                       <packing>
                         <property name="left_attach">2</property>
                         <property name="top_attach">1</property>
+                        <property name="y_padding">6</property>
                       </packing>
                     </child>
                     <child>
@@ -242,6 +237,7 @@
                       <packing>
                         <property name="left_attach">3</property>
                         <property name="top_attach">1</property>
+                        <property name="y_padding">6</property>
                       </packing>
                     </child>
                     <child>
@@ -253,6 +249,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">2</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -302,6 +299,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">3</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -345,6 +343,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">4</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -386,6 +385,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">5</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -416,6 +416,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">6</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -463,7 +464,7 @@
                     <property name="n_rows">5</property>
                     <property name="n_columns">3</property>
                     <property name="row_spacing">6</property>
-                    <property name="column_spacing">6</property>
+                    <property name="column_spacing">12</property>
                     <child>
                       <object class="GtkLabel" id="display_onbattery_label">
                         <property name="visible">True</property>
@@ -474,6 +475,7 @@
                       <packing>
                         <property name="left_attach">2</property>
                         <property name="top_attach">1</property>
+                        <property name="y_padding">6</property>
                       </packing>
                     </child>
                     <child>
@@ -486,6 +488,7 @@
                       <packing>
                         <property name="left_attach">3</property>
                         <property name="top_attach">1</property>
+                        <property name="y_padding">6</property>
                       </packing>
                     </child>
                     <child>
@@ -498,6 +501,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">2</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -542,6 +546,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">3</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -586,6 +591,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">4</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -630,6 +636,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">5</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -707,6 +714,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">1</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -722,6 +730,7 @@
                       <packing>
                         <property name="left_attach">2</property>
                         <property name="top_attach">1</property>
+                        <property name="x_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -738,6 +747,7 @@
                       <packing>
                         <property name="left_attach">3</property>
                         <property name="top_attach">1</property>
+                        <property name="x_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -750,6 +760,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">2</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -765,6 +776,7 @@
                       <packing>
                         <property name="left_attach">2</property>
                         <property name="top_attach">2</property>
+                        <property name="x_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -781,6 +793,7 @@
                       <packing>
                         <property name="left_attach">3</property>
                         <property name="top_attach">2</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -793,6 +806,7 @@
                       <packing>
                         <property name="left_attach">1</property>
                         <property name="top_attach">3</property>
+                        <property name="x_options">GTK_FILL</property>
                       </packing>
                     </child>
                     <child>
@@ -807,11 +821,15 @@
                       <packing>
                         <property name="left_attach">2</property>
                         <property name="top_attach">3</property>
-                        <property name="x_options">GTK_EXPAND</property>
-                        <property name="y_options">GTK_EXPAND</property>
+                        <property name="x_options"></property>
                       </packing>
                     </child>
-                    <child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                  </packing>
+                  </child>
+                  <child>
                       <object class="GtkCheckButton" id="lock-screen">
                         <property name="label" translatable="yes">Lock screen when going for suspend/hibernate</property>
                         <property name="visible">True</property>
@@ -821,11 +839,11 @@
                         <signal name="toggled" handler="lock_screen_toggled_cb"/>
                       </object>
                       <packing>
-                        <property name="left_attach">1</property>
-                        <property name="top_attach">4</property>
+                        <property name="expand">False</property>
+                        <property name="padding">3</property>
                       </packing>
                     </child>
-                    <child>
+                  <child>
                       <object class="GtkCheckButton" id="network-manager-sleep">
                         <property name="label" translatable="yes">Notify Network Manager of suspend/hibernate</property>
                         <property name="visible">True</property>
@@ -835,16 +853,11 @@
                         <property name="tooltip-text" translatable="yes">When enabled this signals to network manager that the system is going to suspend/hibernate so it can power down the network interfaces, saving power.</property>
                       </object>
                       <packing>
-                        <property name="left_attach">1</property>
-                        <property name="top_attach">5</property>
+                        <property name="expand">False</property>
+                        <property name="padding">3</property>
                       </packing>
                     </child>
                   </object>
-                  <packing>
-                    <property name="expand">False</property>
-                  </packing>
-                  </child>
-                  </object>
                 </child>
                 <child type="tab">
                   <object class="GtkLabel" id="advanced">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list