summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-20 18:09:24 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-20 18:09:24 +0000
commitbafef13463226f947ea4e5f0091088d6ef03a48e (patch)
treeed87a1e264af865c0499afc69bb8d0daf44b8353
parentb549938ab1a49bc861d41a55fd942454a3a5929d (diff)
downloaddrakx-net-bafef13463226f947ea4e5f0091088d6ef03a48e.tar
drakx-net-bafef13463226f947ea4e5f0091088d6ef03a48e.tar.gz
drakx-net-bafef13463226f947ea4e5f0091088d6ef03a48e.tar.bz2
drakx-net-bafef13463226f947ea4e5f0091088d6ef03a48e.tar.xz
drakx-net-bafef13463226f947ea4e5f0091088d6ef03a48e.zip
add interface name
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 23f1602..70bece8 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -70,6 +70,8 @@ sub main {
0, gtknew('Image', file => $_->get_type_icon),
0, gtknew('Label', padding => [ 5, 0 ]),
1, gtknew('Title2', ellipsize => 'end', label => $_->get_description),
+ 0, gtknew('Label', padding => [ 2, 0 ]),
+ 0, $cmanager->{gui}{labels}{interface} = gtknew('Title2', label => sprintf("(%s)", $_->get_interface)),
]),
gtknew('HBox', children_loose => [
gtknew('Label', padding => [ 5, 0 ]),