[PATCH 8/9] Fix problem with format and migrate combo box activation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The format checkbox enables the combo box listing filesystems.
Likewise, the migrate checkbox enables the combo box listing filesystems
you can migrate to.  The two choices are mutually exclusive.  We only
want one combo box active at a time.  Without this patch, box combo
boxes would become active if either checkbox was checked.
---
 iw/partition_ui_helpers_gui.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
index 9d7f7c5..ede0200 100644
--- a/iw/partition_ui_helpers_gui.py
+++ b/iw/partition_ui_helpers_gui.py
@@ -256,8 +256,8 @@ def formatMigrateOptionCB(widget, data):
         othercb.set_sensitive(not widget.get_active())
         othercb.set_active(False)
 
-    if othercombo is not None:
-        othercombo.set_sensitive(not widget.get_active())
+        if othercombo is not None:
+            othercombo.set_sensitive(othercb.get_active())
 
     if lukscb is not None:
         lukscb.set_data("formatstate", widget.get_active())
-- 
1.6.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux