policycoreutils/sepolicy/gui: fix current selinux state radiobutton
Radiobutton was always set to "Permissive" and couldn't be switched. Update radiobutton together with status text in bottom left corner. Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
This commit is contained in:
parent
ab27085099
commit
c034875c14
1 changed files with 2 additions and 1 deletions
|
@ -2609,6 +2609,7 @@ class SELinuxGui():
|
|||
def set_enforce_text(self, value):
|
||||
if value:
|
||||
self.status_bar.push(self.context_id, _("System Status: Enforcing"))
|
||||
self.current_status_enforcing.set_active(True)
|
||||
else:
|
||||
self.status_bar.push(self.context_id, _("System Status: Permissive"))
|
||||
self.current_status_permissive.set_active(True)
|
||||
|
|
Loading…
Reference in a new issue