[PATCH 1/2] The disk cart summary does not need a mnemonic.

Chris Lumens clumens at redhat.com
Thu Feb 21 14:19:52 UTC 2013


What would it do?
---
 pyanaconda/ui/gui/spokes/lib/cart.glade | 1 -
 pyanaconda/ui/gui/spokes/lib/cart.py    | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/lib/cart.glade b/pyanaconda/ui/gui/spokes/lib/cart.glade
index 0e234a2..37f864e 100644
--- a/pyanaconda/ui/gui/spokes/lib/cart.glade
+++ b/pyanaconda/ui/gui/spokes/lib/cart.glade
@@ -234,7 +234,6 @@
                 <property name="xalign">0</property>
                 <property name="label" translatable="yes">Disk summary goes here</property>
                 <property name="use_markup">True</property>
-                <property name="use_underline">True</property>
               </object>
               <packing>
                 <property name="expand">False</property>
diff --git a/pyanaconda/ui/gui/spokes/lib/cart.py b/pyanaconda/ui/gui/spokes/lib/cart.py
index 0fe9869..39d572a 100644
--- a/pyanaconda/ui/gui/spokes/lib/cart.py
+++ b/pyanaconda/ui/gui/spokes/lib/cart.py
@@ -135,9 +135,9 @@ class SelectedDisksDialog(GUIObject):
         size = str(Size(bytes=long(size))).upper()
         free = str(Size(bytes=long(free))).upper()
 
-        text = P_("<b>%d d_isk; %s capacity; %s free space</b> "
+        text = P_("<b>%d disk; %s capacity; %s free space</b> "
                    "(unpartitioned and in filesystems)",
-                  "<b>%d d_isks; %s capacity; %s free space</b> "
+                  "<b>%d disks; %s capacity; %s free space</b> "
                    "(unpartitioned and in filesystems)",
                   count) % (count, size, free)
         self._summary_label.set_markup(text)
-- 
1.8.1.2



More information about the anaconda-patches mailing list