summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-01-04 16:52:29 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-01-04 16:52:29 +0000
commit3cad0b0c6e3c8d933ee61389e5bb0c30ce2474c3 (patch)
tree02b6647f7f8337a24fb7fdec414eeaa721e75ed7
parent84276f8e609be3dfadb72bed61851ec18fb0581c (diff)
downloadanaconda-3cad0b0c6e3c8d933ee61389e5bb0c30ce2474c3.tar.gz
anaconda-3cad0b0c6e3c8d933ee61389e5bb0c30ce2474c3.tar.xz
anaconda-3cad0b0c6e3c8d933ee61389e5bb0c30ce2474c3.zip
Preserve partition review checkbox between combo box selections (#176212).
-rw-r--r--ChangeLog5
-rw-r--r--iw/autopart_type.py3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 348a8f813..245013e42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-04 David Cantrell <dcantrell@redhat.com>
+
+ * iw/autopart_type.py (comboChanged): Preserve partition review checkbox
+ between combo box selections (#176212).
+
2005-12-22 Jeremy Katz <katzj@redhat.com>
* lang-table: Add Serbian locales (#175611)
diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index ef2ce1a44..140787a2a 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -76,11 +76,12 @@ class PartitionTypeWindow(InstallWindow):
active = self.combo.get_active_iter()
val = self.combo.get_model().get_value(active, 1)
+ # -1 is the combo box choice for 'create custom layout'
if val == -1:
- self.review = self.xml.get_widget("reviewButton").get_active()
self.xml.get_widget("reviewButton").set_active(True)
self.xml.get_widget("reviewButton").set_sensitive(False)
else:
+ self.review = self.xml.get_widget("reviewButton").get_active()
self.xml.get_widget("reviewButton").set_active(self.review)
self.xml.get_widget("reviewButton").set_sensitive(True)