From 46457501e706176c8a59f5803df39694015239f7 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 12 Mar 2001 01:15:34 +0000 Subject: added ugly workaround for ugly Hseparator --- perl-install/my_gtk.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) ); } } -- cgit v1.2.1