preferences/network: Add modem icon for dial-up

This commit is contained in:
Alexander von Gluck IV 2019-08-07 09:44:03 -05:00
parent e27cfa1b9f
commit b18e88a384
2 changed files with 22 additions and 3 deletions

View File

@ -193,18 +193,33 @@ resource(2, "vpn") #'VICN' array {
$"6087CA4D40C75FEF0117810004"
};
resource(3, "online") #'VICN' array {
resource(3, "dialup") #'VICN' array {
$"6E63696609020016023877103BCE2CBBCE2C3877104964A94A5EC90065FF2302"
$"00160236204B3AEC69BBEF7B36DCB64A12D04A1BEF0093FF5A02001602BAD095"
$"B72CA4382BBEBBD9934AB28E4B72FE00BCFF8702001602355FF83C1D50BBFAF1"
$"352D264A79DE49B7EE00ECFFC502000602AE995A360D91B832FCB0C8B8478048"
$"4A5C0A0006FF06FF049404030100000304940402000202B81D0038F008BA6F70"
$"B980FD4BF4DA4876A90000010000FF000100FF040174080A062242224C425C56"
$"48563E38320A04224C425C425022420A04425C5648563E42500605AE02224238"
$"422C3C44484250563E383206033A22424250384244482C3C0A062D422A452A48"
$"2C492C462F4308025C32503C0A05425E495E5E48584542450D0A080107000A07"
$"0106300B1C01178422040A07010630141F01178422040A070106301D22011784"
$"22040A0501001001178400040A000101000A020102000A030103000A01010400"
$"0A040105201E210A0401052025B4A40A040105202AB5970A040105202F29"
};
resource(4, "online") #'VICN' array {
$"6E63696603050004016E020006023959B6382F60BA2F603B59B64B80504AE1D3"
$"0056FF22FF05D005010204554FC96F4FC6CC4F4F554FC6CC4FC96F555BC6CC5B"
$"C96F5B5B555BC96F5BC6CC020A0001001001178800040A02010000"
};
resource(4, "pending") #'VICN' array {
resource(5, "pending") #'VICN' array {
$"6E6369660205000200060238DB5A38CCBABACCBA3ADB5A4B8BE14AD7C900FFF3"
$"75FFFFA406010A034F4F555B5B4F020A0001001001178802040A01010000"
};
resource(5, "offline") #'VICN' array {
resource(6, "offline") #'VICN' array {
$"6E6369660205000200060238DB5A38CCBABACCBA3ADB5A4BBBE14B07C900FF88"
$"75FFFF0505010A044F4F4F5B5B5B5B4F020A0001001001178802040A01010000"
};

View File

@ -178,6 +178,9 @@ InterfaceListItem::_Init()
case B_NETWORK_INTERFACE_TYPE_VPN:
_PopulateBitmaps("vpn");
break;
case B_NETWORK_INTERFACE_TYPE_DIAL_UP:
_PopulateBitmaps("dialup");
break;
}
}
@ -269,6 +272,7 @@ InterfaceListItem::_UpdateState()
break;
case B_NETWORK_INTERFACE_TYPE_DIAL_UP:
fSubtitle = B_TRANSLATE("Dial-up connection");
fDisabled = false;
break;
case B_NETWORK_INTERFACE_TYPE_VPN:
fSubtitle = B_TRANSLATE("VPN connection");