[NETSHELL] Use distinct icon for connection status window (#1167)

CORE-15445
This commit is contained in:
Stanislav Motylkov 2018-12-20 02:35:22 +03:00 committed by Hermès BÉLUSCA - MAÏTO
parent 4f8b041bf0
commit c1f0e89e21

View file

@ -685,7 +685,7 @@ PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
{ {
case PSCB_INITIALIZED: case PSCB_INITIALIZED:
{ {
hIcon = LoadIconW(netshell_hInstance, MAKEINTRESOURCEW(IDI_SHELL_NETWORK_FOLDER)); hIcon = LoadIconW(netshell_hInstance, MAKEINTRESOURCEW(IDI_NET_IDLE));
SendMessageW(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)hIcon); SendMessageW(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)hIcon);
break; break;
} }
@ -710,7 +710,7 @@ ShowStatusPropertyDialog(
pinfo.phpage = hppages; pinfo.phpage = hppages;
pinfo.hwndParent = hwndDlg; pinfo.hwndParent = hwndDlg;
pinfo.hInstance = netshell_hInstance; pinfo.hInstance = netshell_hInstance;
pinfo.pszIcon = MAKEINTRESOURCEW(IDI_SHELL_NETWORK_FOLDER); pinfo.pszIcon = MAKEINTRESOURCEW(IDI_NET_IDLE);
pinfo.pfnCallback = PropSheetProc; pinfo.pfnCallback = PropSheetProc;
if (pContext->pNet->GetProperties(&pProperties) == S_OK) if (pContext->pNet->GetProperties(&pProperties) == S_OK)