diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-08 09:05:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-08 09:05:53 +0000 |
commit | 5fe6c906fb0c6fc71ca423d365aa3a356017f002 (patch) | |
tree | 22376295e7d5db6612523d0ed248938f10e6f630 /perl-install/standalone/draksplash | |
parent | 85540876d5056edf3207a3c16f0b6da52f0e4fa9 (diff) | |
download | drakx-5fe6c906fb0c6fc71ca423d365aa3a356017f002.tar drakx-5fe6c906fb0c6fc71ca423d365aa3a356017f002.tar.gz drakx-5fe6c906fb0c6fc71ca423d365aa3a356017f002.tar.bz2 drakx-5fe6c906fb0c6fc71ca423d365aa3a356017f002.tar.xz drakx-5fe6c906fb0c6fc71ca423d365aa3a356017f002.zip |
(mk_frame) enable to use either combo boxes or option menus for lists
Diffstat (limited to 'perl-install/standalone/draksplash')
-rwxr-xr-x | perl-install/standalone/draksplash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 83625ea08..57222eaec 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -384,7 +384,7 @@ sub mk_frame { my @popdown; if ($ref->{widget}{combo}{$1}) { @popdown = @{$ref->{widget}{combo}{$1}}; - $ref->{widgets}{combo}{$1} = new Gtk2::Combo; + $ref->{widgets}{combo}{$1} = $ref->{widget}{extras}{$1}{noneditable} ? Gtk2::OptionMenu->new : Gtk2::Combo->new; $hboxes{$key}->add($ref->{widgets}{combo}{$1}); $ref->{widgets}{combo}{$1}->set_popdown_strings(@popdown); } |