summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-14 23:22:04 +0000
committerdamien <damien@mandriva.com>2001-09-14 23:22:04 +0000
commit6b45d56dc60fe636fce95142fb2b69bf9f3174fb (patch)
tree6b5053a3e777a6f9a0289969c44b7b5f174560bb /perl-install/my_gtk.pm
parent2b461104781b930e27e76ae2346c06be0d86d4f1 (diff)
downloaddrakx-6b45d56dc60fe636fce95142fb2b69bf9f3174fb.tar
drakx-6b45d56dc60fe636fce95142fb2b69bf9f3174fb.tar.gz
drakx-6b45d56dc60fe636fce95142fb2b69bf9f3174fb.tar.bz2
drakx-6b45d56dc60fe636fce95142fb2b69bf9f3174fb.tar.xz
drakx-6b45d56dc60fe636fce95142fb2b69bf9f3174fb.zip
no icon if wizard
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 90b8133be..7613997d2 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -429,7 +429,7 @@ sub create_box_with_title($@) {
$o->{box_size} = sum(map { round(length($_) / 60 + 1/2) } map { split "\n" } @_);
$o->{box} = new Gtk::VBox(0,0);
- $o->{icon} and eval { gtkpack__($o->{box}, gtkset_border_width(gtkpack_(new Gtk::HBox(0,0), 1, gtkpng($o->{icon})),5)); };
+ $o->{icon} && !$::isWizard and eval { gtkpack__($o->{box}, gtkset_border_width(gtkpack_(new Gtk::HBox(0,0), 1, gtkpng($o->{icon})),5)); };
if (@_ <= 2 && $o->{box_size} > 4) {
my $wanted = n_line_size($o->{box_size}, 'text', $o->{box});
my $height = min(250, $wanted);