summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-03-12 01:15:34 +0000
committerdamien <damien@mandriva.com>2001-03-12 01:15:34 +0000
commit46457501e706176c8a59f5803df39694015239f7 (patch)
tree4ef518de7432dbe0bb875204e0e4c92a377c0b18 /perl-install
parent386318f9c15d842e2289773e8fb11f884da27a12 (diff)
downloaddrakx-46457501e706176c8a59f5803df39694015239f7.tar
drakx-46457501e706176c8a59f5803df39694015239f7.tar.gz
drakx-46457501e706176c8a59f5803df39694015239f7.tar.bz2
drakx-46457501e706176c8a59f5803df39694015239f7.tar.xz
drakx-46457501e706176c8a59f5803df39694015239f7.zip
added ugly workaround for ugly Hseparator
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/my_gtk.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 705ef0e79..1725ab840 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -342,13 +342,15 @@ sub create_box_with_title($@) {
$scroll->set_usize(400, $height);
gtkpack__($o->{box}, $scroll);
} else {
+ my $a = !$::no_separator;
+ undef $::no_separator;
gtkpack__($o->{box},
(map {
my $w = ref $_ ? $_ : new Gtk::Label($_);
$w->set_name("Title");
$w;
} map { ref $_ ? $_ : warp_text($_) } @_),
- new Gtk::HSeparator,
+ if_($a, new Gtk::HSeparator)
);
}
}