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:
@@ -171,8 +171,7 @@ InterfaceListItem::ConfigurationUpdated(const BMessage& message)
|
|||||||
void
|
void
|
||||||
InterfaceListItem::_Init()
|
InterfaceListItem::_Init()
|
||||||
{
|
{
|
||||||
switch(fType) {
|
switch (fType) {
|
||||||
default:
|
|
||||||
case B_NETWORK_INTERFACE_TYPE_WIFI:
|
case B_NETWORK_INTERFACE_TYPE_WIFI:
|
||||||
_PopulateBitmaps("wifi");
|
_PopulateBitmaps("wifi");
|
||||||
break;
|
break;
|
||||||
@@ -185,6 +184,9 @@ InterfaceListItem::_Init()
|
|||||||
case B_NETWORK_INTERFACE_TYPE_DIAL_UP:
|
case B_NETWORK_INTERFACE_TYPE_DIAL_UP:
|
||||||
_PopulateBitmaps("dialup");
|
_PopulateBitmaps("dialup");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
_PopulateBitmaps(NULL);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user