summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/newt-frontend.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-17 13:57:31 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-17 13:57:31 +0000
commit77565d50479b2f99ac6822409cc0e8b90e1c1a01 (patch)
tree796fad535d5b0df5abb1434545e0fc397fcf883b /mdk-stage1/newt-frontend.c
parentc239347fcb639ee3154c318fc8dce02ed3fbe22c (diff)
downloaddrakx-77565d50479b2f99ac6822409cc0e8b90e1c1a01.tar
drakx-77565d50479b2f99ac6822409cc0e8b90e1c1a01.tar.gz
drakx-77565d50479b2f99ac6822409cc0e8b90e1c1a01.tar.bz2
drakx-77565d50479b2f99ac6822409cc0e8b90e1c1a01.tar.xz
drakx-77565d50479b2f99ac6822409cc0e8b90e1c1a01.zip
when available, always load usb interface, as soon as possible, should help usb mouse detection in stage2 which otherwise timeouts
Diffstat (limited to 'mdk-stage1/newt-frontend.c')
-rw-r--r--mdk-stage1/newt-frontend.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/mdk-stage1/newt-frontend.c b/mdk-stage1/newt-frontend.c
index 0c740f42f..750d3e0ac 100644
--- a/mdk-stage1/newt-frontend.c
+++ b/mdk-stage1/newt-frontend.c
@@ -59,13 +59,11 @@ void finish_frontend(void)
void verror_message(char *msg, va_list ap)
{
- probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
newtWinMessagev("Error", "Ok", msg, ap);
}
void vinfo_message(char *msg, va_list ap)
{
- probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
newtWinMessagev("Notice", "Ok", msg, ap);
}
@@ -179,8 +177,6 @@ enum return_type ask_from_list_comments(char *msg, char ** elems, char ** elems_
char ** sav_elems = elems;
int i;
- probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
-
i = 0;
while (elems && *elems) {
int j = (*elems_comments) ? strlen(*elems_comments) : 0;
@@ -212,8 +208,6 @@ enum return_type ask_from_list(char *msg, char ** elems, char ** choice)
{
int answer = 0, rc;
- probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
-
rc = newtWinMenu("Please choose...", msg, 52, 5, 5, 7, elems, &answer, "Ok", "Cancel", NULL);
if (rc == 2)
@@ -229,8 +223,6 @@ enum return_type ask_yes_no(char *msg)
{
int rc;
- probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
-
rc = newtWinTernary("Please answer...", "Yes", "No", "Back", msg);
if (rc == 1)
@@ -368,8 +360,6 @@ enum return_type ask_from_entries(char *msg, char ** questions, char *** answers
int rc;
char ** already_answers = NULL;
- probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
-
while (questions && *questions) {
entries[i].text = *questions;
entries[i].flags = NEWT_FLAG_SCROLL | (!strcmp(*questions, "Password") ? NEWT_FLAG_PASSWORD : 0);