Network: Do not default to Wi-Fi icons in the Interfaces preflet.
At least TUN/TAP don't appear with the "wireless" icon anymore.
This commit is contained in:
parent
094f638456
commit
0387c6accb
@ -171,8 +171,7 @@ InterfaceListItem::ConfigurationUpdated(const BMessage& message)
|
||||
void
|
||||
InterfaceListItem::_Init()
|
||||
{
|
||||
switch(fType) {
|
||||
default:
|
||||
switch (fType) {
|
||||
case B_NETWORK_INTERFACE_TYPE_WIFI:
|
||||
_PopulateBitmaps("wifi");
|
||||
break;
|
||||
@ -185,6 +184,9 @@ InterfaceListItem::_Init()
|
||||
case B_NETWORK_INTERFACE_TYPE_DIAL_UP:
|
||||
_PopulateBitmaps("dialup");
|
||||
break;
|
||||
default:
|
||||
_PopulateBitmaps(NULL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user