[gnome-packagekit] Fix the update viewer's progressbar alignment



commit 36806b03547398497d9a74d1d9350fc86d42994d
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Mar 29 23:18:10 2011 -0400

    Fix the update viewer's progressbar alignment
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 data/gpk-update-viewer.ui |   37 ++++++++-----------------------------
 1 files changed, 8 insertions(+), 29 deletions(-)
---
diff --git a/data/gpk-update-viewer.ui b/data/gpk-update-viewer.ui
index 9835311..edcf12c 100644
--- a/data/gpk-update-viewer.ui
+++ b/data/gpk-update-viewer.ui
@@ -189,46 +189,26 @@
                 <child>
                   <object class="GtkHBox" id="hbox_status">
                     <property name="visible">True</property>
-                    <property name="spacing">9</property>
+                    <property name="spacing">6</property>
                     <child>
                       <object class="GtkImage" id="image_progress">
                         <property name="stock">gtk-save</property>
-                        <property name="icon-size">5</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>
-                        <property name="fill">False</property>
+                        <property name="fill">True</property>
                         <property name="position">0</property>
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkVBox" id="vbox5">
-                        <property name="visible">True</property>
-                        <property name="orientation">vertical</property>
-                        <child>
-                          <object class="GtkHBox" id="hbox2">
-                            <property name="visible">True</property>
-                            <child>
-                              <object class="GtkProgressBar" id="progressbar_progress">
-                                <property name="fraction">0.5</property>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="fill">False</property>
-                                <property name="position">0</property>
-                              </packing>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
+                      <object class="GtkProgressBar" id="progressbar_progress">
+                        <property name="can_focus">False</property>
+                        <property name="valign">center</property>
+                        <property name="fraction">0.5</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>
-                        <property name="fill">False</property>
+                        <property name="fill">True</property>
                         <property name="position">1</property>
                       </packing>
                     </child>
@@ -255,11 +235,10 @@
                     <child>
                       <object class="GtkImage" id="image_info">
                         <property name="stock">gtk-remove</property>
-                        <property name="icon-size">5</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>
-                        <property name="fill">False</property>
+                        <property name="fill">True</property>
                         <property name="position">0</property>
                       </packing>
                     </child>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]