[PATCH 10/10] Move the custom partitioning's Apply Changes button.

Chris Lumens clumens at redhat.com
Fri Nov 2 18:06:00 UTC 2012


Right now it gets lost floating around in all the free space in the bottom
right side of the screen, or even worse gets confused with the Finish
Partitioning button.  This moves it to the left and up right under the
customize expander where it will hopefully be easier to find.
---
 pyanaconda/ui/gui/spokes/custom.glade | 37 ++++++++++-------------------------
 1 file changed, 10 insertions(+), 27 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.glade b/pyanaconda/ui/gui/spokes/custom.glade
index 645e919..c9b77b6 100644
--- a/pyanaconda/ui/gui/spokes/custom.glade
+++ b/pyanaconda/ui/gui/spokes/custom.glade
@@ -1168,37 +1168,20 @@ you'll be able to view their details here.</property>
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkBox" id="box10">
+                              <object class="GtkButton" id="applyButton">
+                                <property name="label" translatable="yes">_Apply Changes</property>
                                 <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="spacing">6</property>
-                                <child>
-                                  <placeholder/>
-                                </child>
-                                <child>
-                                  <placeholder/>
-                                </child>
-                                <child>
-                                  <object class="GtkButton" id="applyButton">
-                                    <property name="label" translatable="yes">_Apply Changes</property>
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="receives_default">True</property>
-                                    <property name="use_underline">True</property>
-                                    <signal name="clicked" handler="on_apply_clicked" swapped="no"/>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">True</property>
-                                    <property name="pack_type">end</property>
-                                    <property name="position">2</property>
-                                  </packing>
-                                </child>
+                                <property name="can_focus">True</property>
+                                <property name="receives_default">True</property>
+                                <property name="halign">start</property>
+                                <property name="valign">start</property>
+                                <property name="use_underline">True</property>
+                                <property name="margin_top">18</property>
+                                <signal name="clicked" handler="on_apply_clicked" swapped="no"/>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
-                                <property name="fill">False</property>
-                                <property name="pack_type">end</property>
+                                <property name="fill">True</property>
                                 <property name="position">4</property>
                               </packing>
                             </child>
-- 
1.7.11.2



More information about the anaconda-patches mailing list