summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-26 14:10:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-26 14:10:28 +0000
commitf851d69902dfbcea9a2f9f7814d66ff805b1fe5d (patch)
tree3c3715084c993fdd320de0b332f585ae6a2e355c /perl-install/interactive.pm
parent6075c474257fe133c52616558de3625183fa0a80 (diff)
downloaddrakx-backup-do-not-use-f851d69902dfbcea9a2f9f7814d66ff805b1fe5d.tar
drakx-backup-do-not-use-f851d69902dfbcea9a2f9f7814d66ff805b1fe5d.tar.gz
drakx-backup-do-not-use-f851d69902dfbcea9a2f9f7814d66ff805b1fe5d.tar.bz2
drakx-backup-do-not-use-f851d69902dfbcea9a2f9f7814d66ff805b1fe5d.tar.xz
drakx-backup-do-not-use-f851d69902dfbcea9a2f9f7814d66ff805b1fe5d.zip
(ask_from_normalize) since we can now use ComboBoxes with trees, do
not use big TreeView instead of small ComboBox when not asked for
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index f4b95ae9d..483792895 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -345,7 +345,7 @@ sub ask_from_normalize {
$e->{list} = $li = [ map { $li->[$_] } @places ];
}
$e->{type} = 'iconlist' if $e->{icon2f};
- $e->{type} = 'treelist' if $e->{separator};
+ $e->{type} = 'treelist' if $e->{separator} && $e->{type} ne 'combo';
add2hash_($e, { not_edit => 1 });
$e->{type} ||= 'combo';