diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | lib/network/netcenter.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ - draknetcenter: o use new status icons o add Quit button + o do not show markup instead of interface name if interface does not exist (#33241) 0.14: - draknetcenter: diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index c779bf8..242e8f7 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -64,7 +64,7 @@ sub main { 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 => '<b>' . $_->get_interface . '</b>'), + 0, $cmanager->{gui}{labels}{interface} = gtknew('Label', alignment => [ 0, 0 ], text_markup => $_->get_interface ? '<b>' . $_->get_interface . '</b>' : ""), ]); my $content = gtknew('HBox', children => [ 0, gtknew('Label', padding => [ 5, 0 ]), |