[f23-branch 1/1] Warn user before using Delete all
jkonecny12
installerbot-noreply at redhat.com
Fri Oct 16 07:55:27 UTC 2015
From: Jiri Konecny <jkonecny at redhat.com>
Warn user that "Delete all" checkbox removes even shared partitions.
Thank you for this patch David Lehman.
Related: rhbz#1183880
---
pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py b/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py
index 8f3b6d6..c345a38 100644
--- a/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py
+++ b/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py
@@ -383,9 +383,13 @@ def refresh(self, mountpoint, device, rootName, snapshots=False):
if rootName and "_" in rootName:
rootName = rootName.replace("_", "__")
+ delete_all_text = (C_("GUI|Custom Partitioning|Confirm Delete Dialog",
+ "Delete _all other file systems in the %s root as well.") +
+ "\n" +
+ C_("GUI|Custom Partitioning|Confirm Delete Dialog",
+ "(This includes those used by other installed operating systems.)"))
self._removeAll.set_label(
- C_("GUI|Custom Partitioning|Confirm Delete Dialog",
- "Delete _all other file systems in the %s root as well.")
+ delete_all_text
% rootName)
self._removeAll.set_sensitive(rootName is not None)
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/e34365e30cc5d2739befc71ac74c1d62c92aa208
More information about the anaconda-patches
mailing list