summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyanaconda/ui/gui/spokes/custom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 6449d1641..ddddcb3f2 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)