diff options
-rwxr-xr-x | lib/network/netcenter.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 1094683..5ebaeb5 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -68,11 +68,11 @@ sub main { 0, gtknew('Label', padding => [ 5, 0 ]), 1, gtknew('VBox', children_tight => [ gtknew('HBox', children => [ - 1, gtknew('Label', alignment => [ 0, 0 ], text_markup => '<b>' . $_->get_type_name . '</b>'), + 1, gtknew('Label', alignment => [ 0, 0 ], text_markup => '<b>' . $cmanager->{connection}->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>' : ""), + 0, $cmanager->{gui}{labels}{interface} = gtknew('Label', alignment => [ 0, 0 ], text_markup => $cmanager->{connection}->get_interface ? '<b>' . $cmanager->{connection}->get_interface . '</b>' : ""), ]), - gtknew('Label', ellipsize => 'end', alignment => [ 0, 0 ], text_markup => $_->get_description), + gtknew('Label', ellipsize => 'end', alignment => [ 0, 0 ], text_markup => $cmanager->{connection}->get_description), ]), ]); my $content = gtknew('HBox', children => [ |