diff options
Diffstat (limited to 'lib/network')
-rwxr-xr-x | lib/network/netcenter.pm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 19b4207..bc8c508 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -66,9 +66,14 @@ sub main { my $head = gtknew('HBox', children => [ 0, $cmanager->{gui}{status_image} = gtknew('Image'), 0, gtknew('Label', padding => [ 5, 0 ]), - 1, gtknew('Label', ellipsize => 'end', alignment => [ 0, 0 ], text_markup => '<b>' . $_->get_description . '</b>'), - 0, gtknew('Label', padding => [ 2, 0 ]), - 0, $cmanager->{gui}{labels}{interface} = gtknew('Label', alignment => [ 0, 0 ], text_markup => $_->get_interface ? '<b>' . $_->get_interface . '</b>' : ""), + 1, gtknew('VBox', children_tight => [ + gtknew('HBox', children => [ + 1, gtknew('Label', alignment => [ 0, 0 ], text_markup => '<b>' . $_->get_type_name . '</b>'), + 0, gtknew('Label', padding => [ 2, 0 ]), + 0, $cmanager->{gui}{labels}{interface} = gtknew('Label', alignment => [ 0, 0 ], text_markup => $_->get_interface ? '<b>' . $_->get_interface . '</b>' : ""), + ]), + gtknew('Label', ellipsize => 'end', alignment => [ 0, 0 ], text_markup => $_->get_description), + ]), ]); my $content = gtknew('HBox', children => [ 0, gtknew('Label', padding => [ 5, 0 ]), |