[rhel7-branch][PATCH] Set sensitivity of the "Encrypt" checkbox together with its label (#1181468)
by Vratislav Podzimek
Otherwise they can get out of sync as reported in the bug.
Signed-off-by: Vratislav Podzimek <vpodzime(a)redhat.com>
---
pyanaconda/ui/gui/spokes/custom.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 64df7da..ed7cc8a 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1399,13 +1399,13 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
use_dev.exists and not use_dev.formatImmutable)
self._encryptCheckbox.set_active(isinstance(device, LUKSDevice))
- self._encryptCheckbox.set_sensitive(self._reformatCheckbox.get_active())
+ fancy_set_sensitive(self._encryptCheckbox, self._reformatCheckbox.get_active())
ancestors = use_dev.ancestors
ancestors.remove(use_dev)
if any(a.format.type == "luks" for a in ancestors):
# The encryption checkbutton should not be sensitive if there is
# existing encryption below the leaf layer.
- self._encryptCheckbox.set_sensitive(False)
+ fancy_set_sensitive(self._encryptCheckbox, False)
self._encryptCheckbox.set_active(True)
self._encryptCheckbox.set_tooltip_text(_("The container is encrypted."))
else:
@@ -2289,7 +2289,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
def on_reformat_toggled(self, widget):
active = widget.get_active()
- self._encryptCheckbox.set_sensitive(active)
+ fancy_set_sensitive(self._encryptCheckbox, active)
if self._current_selector:
device = self._current_selector.device.raw_device
@@ -2298,14 +2298,14 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
if any(a.format.type == "luks" and a.format.exists for a in ancestors):
# The encryption checkbutton should not be sensitive if there is
# existing encryption below the leaf layer.
- self._encryptCheckbox.set_sensitive(False)
+ fancy_set_sensitive(self._encryptCheckbox, False)
# you can't encrypt a btrfs subvolume -- only the volume/container
device_type = self._get_current_device_type()
if device_type == DEVICE_TYPE_BTRFS:
self._encryptCheckbox.set_active(False)
- self._encryptCheckbox.set_sensitive(device_type != DEVICE_TYPE_BTRFS)
+ fancy_set_sensitive(self._encryptCheckbox, device_type != DEVICE_TYPE_BTRFS)
fancy_set_sensitive(self._fsCombo, active)
def on_fs_type_changed(self, combo):
--
2.1.0
9 years
[rhel7-branch][PATCH] Change the betanag wording (back) to be better for RHEL
by Vratislav Podzimek
Related: rhbz#1196721
(ported commit 5d472f8565b6fb98e3e5254fedb29673128447c4 from rhel7.0-branch)
Signed-off-by: Vratislav Podzimek <vpodzime(a)redhat.com>
---
pyanaconda/ui/gui/spokes/welcome.glade | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/welcome.glade b/pyanaconda/ui/gui/spokes/welcome.glade
index 0180e63..32c73ba 100644
--- a/pyanaconda/ui/gui/spokes/welcome.glade
+++ b/pyanaconda/ui/gui/spokes/welcome.glade
@@ -20,7 +20,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="quitButton">
- <property name="label" translatable="yes" context="GUI|Welcome|Beta Warn Dialog">_Get me out of here!</property>
+ <property name="label" translatable="yes" context="GUI|Welcome|Beta Warn Dialog">I want to _exit.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -34,7 +34,7 @@
</child>
<child>
<object class="GtkButton" id="continueButton">
- <property name="label" translatable="yes" context="GUI|Welcome|Beta Warn Dialog">_I accept my fate.</property>
+ <property name="label" translatable="yes" context="GUI|Welcome|Beta Warn Dialog">I want to _proceed.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -94,7 +94,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
- <property name="label" translatable="yes">You wake up inside an OS installer in Timbuktu, and it's six months in the future. But, there are bugs. Bugs everywhere. Bugs you must live with. This OS of the future isn't a stable OS you can rely on. It's for testing purposes only.</property>
+ <property name="label" translatable="yes">>Notice: This is pre-release software that is intended for development and testing purposes only. Do not use this software for any critical work or for production environments.
+
+By clicking "I want to proceed", you understand and accept the risks associated with pre-release software, that you intend to use this for testing and development purposes only, and are willing to report any bugs or issues in order to enhance this work.
+
+If you do not understand or accept the risks, then please exit this program by clicking "I want to exit" which will reboot your system.</property>
<property name="wrap">True</property>
<attributes>
<attribute name="font-desc" value="Cantarell 12"/>
--
2.1.0
9 years
New: [rhinstaller/anaconda/pulls/151 master] Depsolve kickstarted packages on the summary hub (#961280)
by dashea
Pacakage selections with no environments, which kickstarts often are,
were not skipping the depsolve steps, so stop doing that. This way
package errors are displayed before disk formatting takes place.
Change the software spoke slightly to improve its behavior when
interactive modifications are made to a kickstart install. Add a hidden
radio button to allow the environment selection to appear unselected if
there is no environment selected in a kickstart, and switch everything
to the interactive logic if any modifications are made to a kickstart's
environment and group selections.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/151
9 years
Support for LDL DASD detection (s390x) (for real this time)
by Samantha N. Bueno
Similar to the code that went into rhel06, this adds a new function to
devicelibs.dasd in order to detect LDL DASDs. There is also some code in
the gui/tui storage spokes to create a list of any LDL DASDs and prompt
the user to run dasdfmt against them.
The cleaerpart --cdl option basically says, if there are any LDL DASDs
on my system detected during my ks install, run dasdfmt on them.
I will say that I have not had a chance to really test the
clearpart --cdl option, so bear that in mind, but I think that it should
be ok.
9 years