[PATCH 2/4] Force sizes on the network toolbar buttons (#951580).
Chris Lumens
clumens at redhat.com
Fri Apr 12 18:14:06 UTC 2013
And make sure to set the sizes on all the custom toolbar buttons, too. This
makes everything a consistent size and easier to hit with the mouse.
---
pyanaconda/ui/gui/spokes/custom.glade | 4 ++++
pyanaconda/ui/gui/spokes/network.glade | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.glade b/pyanaconda/ui/gui/spokes/custom.glade
index e400211..ea6bcd3 100644
--- a/pyanaconda/ui/gui/spokes/custom.glade
+++ b/pyanaconda/ui/gui/spokes/custom.glade
@@ -1360,6 +1360,8 @@ until you click on the main menu's 'Begin Installation' button.</property>
</child>
<child>
<object class="GtkToolButton" id="refreshButton">
+ <property name="width_request">42</property>
+ <property name="height_request">36</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Reload storage configuration from disk.</property>
@@ -1375,6 +1377,8 @@ until you click on the main menu's 'Begin Installation' button.</property>
</child>
<child>
<object class="GtkToolButton" id="helpButton">
+ <property name="width_request">42</property>
+ <property name="height_request">36</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Click for help.</property>
diff --git a/pyanaconda/ui/gui/spokes/network.glade b/pyanaconda/ui/gui/spokes/network.glade
index eff4c6a..b4220ba 100644
--- a/pyanaconda/ui/gui/spokes/network.glade
+++ b/pyanaconda/ui/gui/spokes/network.glade
@@ -319,6 +319,8 @@ updates available for you.</property>
</style>
<child>
<object class="GtkToolButton" id="add_toolbutton">
+ <property name="width_request">42</property>
+ <property name="height_request">36</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_underline">True</property>
@@ -331,6 +333,8 @@ updates available for you.</property>
</child>
<child>
<object class="GtkToolButton" id="remove_toolbutton">
+ <property name="width_request">42</property>
+ <property name="height_request">36</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_underline">True</property>
--
1.8.1.2
More information about the anaconda-patches
mailing list