diff options
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -410,10 +410,15 @@ if (display_mode != 't' and method and # if no mouse we force text mode mousedev = mousehw.get() if display_mode != 't' and mousedev[0] == "None - None": - print _("No mouse was detected. A mouse is required for graphical " - "installation. Starting text mode.") - display_mode = 't' - time.sleep(2) + # ask for the mouse type + if mouse.mouseWindow(mousehw) == 0: + print _("No mouse was detected. A mouse is required for graphical " + "installation. Starting text mode.") + display_mode = 't' + time.sleep(2) + else: + sys.stdout.write(_("Using mouse type: ")) + sys.stdout.write(mousehw.shortDescription()+'\n') # # startup X server is we're not already running under an X session |