summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-18 11:15:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-18 11:15:07 +0000
commit4bf4b23ab7fc74b6465801745ca2e8a3b52a8a21 (patch)
treea1326221eeb7578108e6c9a2fe947c9083f44984 /perl-install/Xconfigurator.pm
parentb6f79c8552d64f5ceb4905570893ceefbe7b212a (diff)
downloaddrakx-4bf4b23ab7fc74b6465801745ca2e8a3b52a8a21.tar
drakx-4bf4b23ab7fc74b6465801745ca2e8a3b52a8a21.tar.gz
drakx-4bf4b23ab7fc74b6465801745ca2e8a3b52a8a21.tar.bz2
drakx-4bf4b23ab7fc74b6465801745ca2e8a3b52a8a21.tar.xz
drakx-4bf4b23ab7fc74b6465801745ca2e8a3b52a8a21.zip
no_comment
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 7421f53f6..9c3fd8e64 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -176,8 +176,8 @@ sub cardConfiguration(;$$$) {
undef $card->{type} unless $card->{server}; #- bad type as we can't find the server
add2hash($card, cardConfigurationAuto()) unless $card->{server} || $noauto;
$card->{server} = 'FBDev' unless !$allowFB || $card->{server} || $card->{type} || $noauto;
- $card->{type} = cardName2RealName($in->ask_from_treelist(_("Graphic card"), _("Select a graphic card"), '|', ['Unlisted', readCardsNames()])) unless $card->{type} || $card->{server};
- undef $card->{type}, $card->{server} = $in->ask_from_list(_("X server"), _("Choose a X server"), $allowFB ? \@allservers : \@allbutfbservers ) if $card->{type} eq "Unlisted";
+ $card->{type} = cardName2RealName($in->ask_from_treelist(_("Graphic card"), _("Select a graphic card"), '|', ['Other|Unlisted', readCardsNames()])) unless $card->{type} || $card->{server};
+ undef $card->{type}, $card->{server} = $in->ask_from_list(_("X server"), _("Choose a X server"), $allowFB ? \@allservers : \@allbutfbservers ) if $card->{type} eq 'Other|Unlisted';
updateCardAccordingName($card, $card->{type}) if $card->{type};
add2hash($card, { vendor => "Unknown", board => "Unknown" });