[PATCH] Remove the mnemonics from the custom part toolbar.

Chris Lumens clumens at redhat.com
Tue Sep 2 14:20:15 UTC 2014


These kind of buttons only have mnemonics if they appear in an overflow menu,
which is not the case on custom partitioning.
---
 pyanaconda/ui/gui/spokes/custom.glade | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.glade b/pyanaconda/ui/gui/spokes/custom.glade
index 8b46847..8c09b12 100644
--- a/pyanaconda/ui/gui/spokes/custom.glade
+++ b/pyanaconda/ui/gui/spokes/custom.glade
@@ -978,8 +978,7 @@ until you click on the main menu's 'Begin Installation' button.</property>
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="tooltip_text" translatable="yes">Add a new mount point.</property>
-                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">_Add</property>
-                            <property name="use_underline">True</property>
+                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">Add</property>
                             <property name="icon_name">list-add-symbolic</property>
                             <signal name="clicked" handler="on_add_clicked" swapped="no"/>
                           </object>
@@ -995,8 +994,7 @@ until you click on the main menu's 'Begin Installation' button.</property>
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="tooltip_text" translatable="yes">Remove the selected mount point(s).</property>
-                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">Remo_ve</property>
-                            <property name="use_underline">True</property>
+                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">Remove</property>
                             <property name="icon_name">list-remove-symbolic</property>
                             <signal name="clicked" handler="on_remove_clicked" swapped="no"/>
                           </object>
@@ -1012,8 +1010,7 @@ until you click on the main menu's 'Begin Installation' button.</property>
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="tooltip_text" translatable="yes">Configure selected mount point.</property>
-                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">_Configure</property>
-                            <property name="use_underline">True</property>
+                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">Configure</property>
                             <property name="icon_name">preferences-system-symbolic</property>
                             <signal name="clicked" handler="on_configure_clicked" swapped="no"/>
                           </object>
@@ -1029,8 +1026,7 @@ until you click on the main menu's 'Begin Installation' button.</property>
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="tooltip_text" translatable="yes">Reload storage configuration from disk.</property>
-                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">Re_fresh</property>
-                            <property name="use_underline">True</property>
+                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">Refresh</property>
                             <property name="icon_name">view-refresh-symbolic</property>
                             <signal name="clicked" handler="on_refresh_clicked" swapped="no"/>
                           </object>
@@ -1046,8 +1042,7 @@ until you click on the main menu's 'Begin Installation' button.</property>
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="tooltip_text" translatable="yes">Click for help.</property>
-                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">_Help</property>
-                            <property name="use_underline">True</property>
+                            <property name="label" translatable="yes" context="GUI|Custom Partitioning">Help</property>
                             <property name="icon_name">system-help-symbolic</property>
                             <signal name="clicked" handler="on_help_clicked" swapped="no"/>
                           </object>
-- 
1.9.3



More information about the anaconda-patches mailing list