summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authordlehman <dlehman>2007-02-23 18:18:25 +0000
committerdlehman <dlehman>2007-02-23 18:18:25 +0000
commit985008e8e3f327da0334c76b4249f9a09c5c8228 (patch)
tree489b46ccc0bd37c54978c47ff1e1ef2c4843cf59 /iw
parentf500e8abdeac651436de6a953be773d5d957d57a (diff)
downloadanaconda-985008e8e3f327da0334c76b4249f9a09c5c8228.tar.gz
anaconda-985008e8e3f327da0334c76b4249f9a09c5c8228.tar.xz
anaconda-985008e8e3f327da0334c76b4249f9a09c5c8228.zip
* yuminstall.py (selectBestKernel): actually select kernel-xen-devel
when we say we're going to (#226784) * iw/autopart_type.py (PartitionTypeWindow.getScreen): desensitize review checkbox if we're headed backwards and the current selection is custom (#220951) * gui.py: add class InstallKeyWindow and InstallInterface method getInstallKey * text.py: add getInstallKey method * ui/instkey.glade: instkey dialog (new file)
Diffstat (limited to 'iw')
-rw-r--r--iw/autopart_type.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 95b4285d3..27809c96e 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -269,6 +269,18 @@ class PartitionTypeWindow(InstallWindow):
self.review = not self.dispatch.stepInSkipList("partition")
self.xml.get_widget("reviewButton").set_active(self.review)
+ 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:
+ # make sure reviewButton is active and not sensitive
+ if self.prevrev == None:
+ self.prevrev = self.xml.get_widget("reviewButton").get_active()
+
+ self.xml.get_widget("reviewButton").set_active(True)
+ self.xml.get_widget("reviewButton").set_sensitive(False)
+
sigs = { "on_partitionTypeCombo_changed": self.comboChanged,
"on_addButton_clicked": self.addDrive }
self.xml.signal_autoconnect(sigs)