summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-07-15 15:25:32 +0200
committerMartin Sivak <msivak@redhat.com>2008-07-15 15:25:32 +0200
commit6a292f6309adfb39c56a9a0f1c697a70aad55555 (patch)
tree48ed3d938206fe80358c07cd757b6ec782c1b35d /anaconda
parent9fbb5d9ca9026999c949035b535c0662694fb80b (diff)
downloadanaconda-6a292f6309adfb39c56a9a0f1c697a70aad55555.tar.gz
anaconda-6a292f6309adfb39c56a9a0f1c697a70aad55555.tar.xz
anaconda-6a292f6309adfb39c56a9a0f1c697a70aad55555.zip
Ask the user if he wants to use VNC instead of text mode (#453551)
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda11
1 files changed, 11 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 5d34a9673..09a110723 100755
--- a/anaconda
+++ b/anaconda
@@ -755,6 +755,17 @@ if __name__ == "__main__":
opts.display_mode = 't'
else:
opts.display_mode = 'g'
+
+ if opts.display_mode == 't': #we prefer vnc over text mode, so ask about that
+ title = _("Would you like to use VNC?")
+ message = _("The VNC mode installation offers more functionality than the text mode, would you like to use it instead?")
+
+ ret = vnc.askVncWindow(title, message)
+ if ret != -1:
+ opts.display_mode = 'g'
+ flags.usevnc = 1
+ if ret is not None:
+ vncpassword = ret
if opts.debug:
flags.debug = True