diff options
author | Martin Sivak <msivak@redhat.com> | 2008-07-15 15:25:32 +0200 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2008-07-15 15:25:32 +0200 |
commit | 6a292f6309adfb39c56a9a0f1c697a70aad55555 (patch) | |
tree | 48ed3d938206fe80358c07cd757b6ec782c1b35d /anaconda | |
parent | 9fbb5d9ca9026999c949035b535c0662694fb80b (diff) | |
download | anaconda-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-x | anaconda | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |