- Use updated icons

- Only load Taskbar Notifications once

svn path=/trunk/; revision=36290
This commit is contained in:
Johannes Anderwald 2008-09-17 16:53:05 +00:00
parent 73e8217f04
commit 6a59f3c2f8
15 changed files with 16 additions and 1 deletions

View file

@ -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))
{

View file

@ -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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B

View file

@ -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