summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-11-29 16:37:25 -0500
committerJeremy Katz <katzj@redhat.com>2007-11-29 16:38:19 -0500
commitc34349ac9ab37bb7ee1264057ab06f6b84608968 (patch)
treec7917b219a8b44663a5357a7f9514b2939d28281 /gui.py
parentf39819b45aa2c04103be79dce7941866c5d3af62 (diff)
downloadanaconda-c34349ac9ab37bb7ee1264057ab06f6b84608968.tar.gz
anaconda-c34349ac9ab37bb7ee1264057ab06f6b84608968.tar.xz
anaconda-c34349ac9ab37bb7ee1264057ab06f6b84608968.zip
With moving partitioning, we should do a confirmation before we write things
out to disk so do that check in partitioningComplete(). Therefore remove the queryAutoPartOK() which is superfluous
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui.py b/gui.py
index 4eb564bd6..a91a5f99a 100755
--- a/gui.py
+++ b/gui.py
@@ -801,7 +801,10 @@ class MessageWindow:
widget = self.dialog.add_button(tbutton, rid)
rid = rid + 1
- defaultchoice = rid - 1
+ if default is not None:
+ defaultchoice = default
+ else:
+ defaultchoice = rid - 1
if flags.debug and not _("_Debug") in custom_buttons:
widget = self.dialog.add_button(_("_Debug"), rid)
self.debugRid = rid