summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
);
}
}