[PATCH 2/3] Don't treat the _ in x86_64 as a mnemonic.

Chris Lumens clumens at redhat.com
Wed Feb 20 12:33:13 UTC 2013


---
 pyanaconda/ui/gui/spokes/custom.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 6449d16..ddddcb3 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -263,6 +263,8 @@ class ConfirmDeleteDialog(GUIObject):
         label = self.builder.get_object("confirmLabel")
 
         self._removeAll = self.builder.get_object("removeAllCheckbox")
+        if rootName and "_" in rootName:
+            rootName = rootName.replace("_", "__")
         self._removeAll.set_label(self._removeAll.get_label() % rootName)
         self._removeAll.set_sensitive(rootName is not None)
 
-- 
1.8.1.2



More information about the anaconda-patches mailing list