diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | iw/autopart_type.py | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -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) |