- Use updated icons
- Only load Taskbar Notifications once svn path=/trunk/; revision=36290
|
@ -315,6 +315,9 @@ InitializeNetTaskbarNotifications(
|
|||
ULONG Index;
|
||||
NOTIFICATION_ITEM * pItem, *pLast = NULL;
|
||||
|
||||
if (This->pHead)
|
||||
return S_OK;
|
||||
|
||||
/* get an instance to of IConnectionManager */
|
||||
hr = INetConnectionManager_Constructor(NULL, &IID_INetConnectionManager, (LPVOID*)&INetConMan);
|
||||
if (FAILED(hr))
|
||||
|
@ -348,7 +351,7 @@ InitializeNetTaskbarNotifications(
|
|||
nid.u.uVersion = 3;
|
||||
nid.uCallbackMessage = WM_SHOWSTATUSDLG;
|
||||
nid.hWnd = hwndDlg;
|
||||
nid.hIcon = LoadIcon(netshell_hInstance, MAKEINTRESOURCE(IDI_SHELL_NETWORK_FOLDER)); //FIXME
|
||||
nid.hIcon = LoadIcon(netshell_hInstance, MAKEINTRESOURCE(IDI_NET_IDLE));
|
||||
hr = INetConnection_GetProperties(INetCon, &pProps);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
|
|
|
@ -16,6 +16,12 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||
|
||||
|
||||
IDI_SHELL_NETWORK_FOLDER ICON "res/netshell.ico"
|
||||
IDI_NET_ERROR ICON "res/neterror.ico"
|
||||
IDI_NET_IDLE ICON "res/netidle.ico"
|
||||
IDI_NET_OFF ICON "res/netoff.ico"
|
||||
IDI_NET_REC ICON "res/netrec.ico"
|
||||
IDI_NET_TRANS ICON "res/nettrans.ico"
|
||||
IDI_NET_TRANSREC ICON "res/nettrrec.ico"
|
||||
|
||||
#include "lang/bg-BG.rc"
|
||||
#include "lang/de-DE.rc"
|
||||
|
|
BIN
reactos/dll/win32/netshell/res/neterror.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/netshell/res/netidle.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/netshell/res/netoff.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/netshell/res/netrec.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/netshell/res/nettrans.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/netshell/res/nettrrec.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 646 B |
Before Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 408 B |
Before Width: | Height: | Size: 455 B |
|
@ -5,6 +5,12 @@
|
|||
#define IDI_HORIZONTAL 101
|
||||
#define IDI_NETSTAT 102
|
||||
#define IDI_VERTICAL 103
|
||||
#define IDI_NET_ERROR 104
|
||||
#define IDI_NET_IDLE 105
|
||||
#define IDI_NET_OFF 106
|
||||
#define IDI_NET_REC 107
|
||||
#define IDI_NET_TRANS 108
|
||||
#define IDI_NET_TRANSREC 109
|
||||
|
||||
/* dialogs */
|
||||
#define IDD_NETPROPERTIES 400
|
||||
|
|