diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-17 12:29:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-17 12:29:24 +0000 |
commit | 33da74aacbb98d828baffb841b448fafab1b1b54 (patch) | |
tree | ac7c7631df3ecf27b785d0cee8c70abed5ebc32d /perl-install/interactive | |
parent | 4dcfaba58706816d17f6a9ada5ef20484ab4f4ae (diff) | |
download | drakx-33da74aacbb98d828baffb841b448fafab1b1b54.tar drakx-33da74aacbb98d828baffb841b448fafab1b1b54.tar.gz drakx-33da74aacbb98d828baffb841b448fafab1b1b54.tar.bz2 drakx-33da74aacbb98d828baffb841b448fafab1b1b54.tar.xz drakx-33da74aacbb98d828baffb841b448fafab1b1b54.zip |
fix ugliness: don't display $advanced_pack when there are no @widgets_advanced
(esp. since $advanced_pack is now in its own scrolled window)
Diffstat (limited to 'perl-install/interactive')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 5dec46e09..88b110171 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -661,7 +661,7 @@ sub ask_fromW { $pack->pack_start(gtkshow($always_pack), 1, 1, 0); $advanced_pack = create_scrolled_window($advanced_pack, [ 'never', 'automatic' ], 'none'); - $pack->pack_start($advanced_pack, 1, 1, 0); + $pack->pack_start($advanced_pack, 1, 1, 0) if @widgets_advanced; if ($buttons_pack) { if ($::isWizard && !$mainw->{pop_it} && $::isInstall) { $buttons_pack->set_size_request($::windowwidth * 0.9 - 20, -1); |