summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center6
1 files changed, 4 insertions, 2 deletions
diff --git a/control-center b/control-center
index 22b76ea4..a84e4def 100755
--- a/control-center
+++ b/control-center
@@ -726,15 +726,17 @@ foreach (@tree) {
my $hbox_spacing = 10;
my $event_box = gtkadd(Gtk2::EventBox->new,
gtkpack_(
- Gtk2::HBox->new(0, $hbox_spacing),
+ Gtk2::VBox->new(0, $hbox_spacing),
0, gtkcreate_img($tag),
- 1, gtktext_insert(
+ 1, Gtk2::Label->new($text),
+ if_(0,1, gtktext_insert(
#- disable selecting text and popping the contextual menu
# (GUI team says it's *horrible* to be able to do select text!)
gtksignal_connect(my $tv = Gtk2::TextView->new,
button_press_event => sub { 1 }),
[ [ $text, {'background_set' => 0,
'background_stipple_set' => 0 } ] ])
+ ),
)
);
$tv->set_events([]);