Network: Remove TODO and "(---)" in device interface display view.
The current network is already displayed in the next field, so displaying it here would be redundant.
This commit is contained in:
@@ -203,18 +203,9 @@ InterfaceView::_Update(bool updateWirelessNetworks)
|
||||
bool isWireless = device.IsWireless();
|
||||
bool disabled = (fInterface.Flags() & IFF_UP) == 0;
|
||||
|
||||
if (fInterface.HasLink()) {
|
||||
if (isWireless) {
|
||||
// TODO!
|
||||
BString network = "---";
|
||||
network.Prepend(" (");
|
||||
network.Prepend(B_TRANSLATE("connected"));
|
||||
network.Append(")");
|
||||
fStatusField->SetText(network.String());
|
||||
} else {
|
||||
fStatusField->SetText(B_TRANSLATE("connected"));
|
||||
}
|
||||
} else
|
||||
if (fInterface.HasLink())
|
||||
fStatusField->SetText(B_TRANSLATE("connected"));
|
||||
else
|
||||
fStatusField->SetText(B_TRANSLATE("disconnected"));
|
||||
|
||||
BNetworkAddress hardwareAddress;
|
||||
|
||||
Reference in New Issue
Block a user