summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-20 18:04:19 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-20 18:04:19 +0000
commit64bc1fe541e9fa1dec2383756dd436f7ae749fd2 (patch)
treed972d16375667feca00ffeb24b377e9d13230463 /lib
parent106b497b540e42c47ba9815fdbac0dc217bda50e (diff)
downloaddrakx-net-64bc1fe541e9fa1dec2383756dd436f7ae749fd2.tar
drakx-net-64bc1fe541e9fa1dec2383756dd436f7ae749fd2.tar.gz
drakx-net-64bc1fe541e9fa1dec2383756dd436f7ae749fd2.tar.bz2
drakx-net-64bc1fe541e9fa1dec2383756dd436f7ae749fd2.tar.xz
drakx-net-64bc1fe541e9fa1dec2383756dd436f7ae749fd2.zip
ellipsize description label
Diffstat (limited to 'lib')
-rwxr-xr-xlib/network/netcenter.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 0f07c73..025aabe 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -66,10 +66,10 @@ sub main {
map_index {
my $cmanager = build_cmanager($in, $net, $w, $pixbufs, $_);
my $box = gtknew('VBox', spacing => 5, children_tight => [
- gtknew('HBox', children_tight => [
- gtknew('Image', file => $_->get_type_icon),
- gtknew('Label', padding => [ 5, 0 ]),
- gtknew('Title2', label => $_->get_description),
+ gtknew('HBox', children => [
+ 0, gtknew('Image', file => $_->get_type_icon),
+ 0, gtknew('Label', padding => [ 5, 0 ]),
+ 1, gtknew('Title2', ellipsize => 'end', label => $_->get_description),
]),
gtknew('HBox', children_loose => [
gtknew('Label', padding => [ 5, 0 ]),