diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-08 09:05:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-08 09:05:42 +0000 |
commit | 85540876d5056edf3207a3c16f0b6da52f0e4fa9 (patch) | |
tree | ae33fc8464049c623d16158e460b3bc7c392bf09 | |
parent | bbb898ebb72bf81ad27f593f4ffb627571847eec (diff) | |
download | drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar.gz drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar.bz2 drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar.xz drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.zip |
(mk_frame) fix combo boxes filling
-rwxr-xr-x | perl-install/standalone/draksplash | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 6686f8cde..83625ea08 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -382,11 +382,12 @@ sub mk_frame { $adj{$1} and $adj{$1}->set_value($theme{boot_conf}{$1}); #- look for combo my @popdown; - $ref->{widget}{combo}{$1} - and @popdown = @{$ref->{widget}{combo}{$1}} - and $ref->{widgets}{combo}{$1} = new Gtk2::Combo - and $hboxes{$key}->add($ref->{widgets}{combo}{$1}) - and $ref->{widgets}{combo}{$1}->set_popdown_strings(@popdown); + if ($ref->{widget}{combo}{$1}) { + @popdown = @{$ref->{widget}{combo}{$1}}; + $ref->{widgets}{combo}{$1} = new Gtk2::Combo; + $hboxes{$key}->add($ref->{widgets}{combo}{$1}); + $ref->{widgets}{combo}{$1}->set_popdown_strings(@popdown); + } #- look for checkbox $ref->{widget}{check}{$1} and $ref->{widgets}{check}{$1} = new Gtk2::CheckButton($ref->{widget}{check}{$1}) |