summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2009-02-03 09:28:48 +0100
committerRadek Vykydal <rvykydal@redhat.com>2009-02-03 09:28:48 +0100
commitbd1aa087d80e28e700fd489e1c9afffac6077973 (patch)
tree2c3012fc7fd662eaeb99ab1f16b7218f279a575c /iw
parentd3aa9eff0b5190e35f7ca6713856b97543b87a72 (diff)
downloadanaconda-bd1aa087d80e28e700fd489e1c9afffac6077973.tar.gz
anaconda-bd1aa087d80e28e700fd489e1c9afffac6077973.tar.xz
anaconda-bd1aa087d80e28e700fd489e1c9afffac6077973.zip
Make ext4 default in UI filesystem selection (bug #481112)
This patch also makes selecting /boot as mountpoint to automatically select ext3 (in place of ext4) in filesystem combo.
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_ui_helpers_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
index e2ef4a73f..a08da7248 100644
--- a/iw/partition_ui_helpers_gui.py
+++ b/iw/partition_ui_helpers_gui.py
@@ -217,6 +217,8 @@ def createFSTypeMenu(fstype, fstypechangeCB, mountCombo,
def mountptchangeCB(widget, fstypecombo):
if iutil.isEfi() and widget.get_children()[0].get_text() == "/boot/efi":
fstypecombo.set_active_text("efi")
+ if widget.get_children()[0].get_text() == "/boot":
+ fstypecombo.set_active_text(fileSystemTypeGetDefaultBoot().getName())
def resizeOptionCB(widget, resizesb):
resizesb.set_sensitive(widget.get_active())