summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-29 15:49:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-29 15:49:19 +0000
commit8fd07c96dd8d467322f5a246f0f6d1826c3d6311 (patch)
treedbbb6e24ded19c3d824c0c5f1c9aaf49d35aa20f
parentb316f45106b240cabd073fb47d07a7dab14ac887 (diff)
downloadcontrol-center-8fd07c96dd8d467322f5a246f0f6d1826c3d6311.tar
control-center-8fd07c96dd8d467322f5a246f0f6d1826c3d6311.tar.gz
control-center-8fd07c96dd8d467322f5a246f0f6d1826c3d6311.tar.bz2
control-center-8fd07c96dd8d467322f5a246f0f6d1826c3d6311.tar.xz
control-center-8fd07c96dd8d467322f5a246f0f6d1826c3d6311.zip
for now, pack text under icons for better layout (mcc new look will be
done later)
-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([]);