summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-08 09:05:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-08 09:05:42 +0000
commit85540876d5056edf3207a3c16f0b6da52f0e4fa9 (patch)
treeae33fc8464049c623d16158e460b3bc7c392bf09 /perl-install/standalone
parentbbb898ebb72bf81ad27f593f4ffb627571847eec (diff)
downloaddrakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar
drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar.gz
drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar.bz2
drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.tar.xz
drakx-85540876d5056edf3207a3c16f0b6da52f0e4fa9.zip
(mk_frame) fix combo boxes filling
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksplash11
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})