Mercurial > pidgin
changeset 4101:003e0a02d6b9
[gaim-migrate @ 4316]
New 4bit icons for systray
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Thu, 19 Dec 2002 20:33:57 +0000 |
parents | a2c34238f407 |
children | c5ce82228a2f |
files | src/win32/gaimrc.rc src/win32/resource.h src/win32/systray.c |
diffstat | 3 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/win32/gaimrc.rc Thu Dec 19 20:32:27 2002 +0000 +++ b/src/win32/gaimrc.rc Thu Dec 19 20:33:57 2002 +0000 @@ -1,5 +1,6 @@ #include "resource.h" GAIM_ICON ICON "../pixmaps/gaim.ico" -GAIM_OFFLINE_ICON ICON "../pixmaps/gaim_offline.ico" -GAIM_AWAY_ICON ICON "../pixmaps/gaim_away.ico" +GAIM_TRAY_ICON ICON "../pixmaps/gaim_4bit_16.ico" +GAIM_OFFLINE_TRAY_ICON ICON "../pixmaps/gaim_offline_4bit_16.ico" +GAIM_AWAY_TRAY_ICON ICON "../pixmaps/gaim_away_4bit_16.ico"
--- a/src/win32/resource.h Thu Dec 19 20:32:27 2002 +0000 +++ b/src/win32/resource.h Thu Dec 19 20:33:57 2002 +0000 @@ -1,3 +1,6 @@ #define GAIM_ICON 104 #define GAIM_OFFLINE_ICON 105 #define GAIM_AWAY_ICON 106 +#define GAIM_TRAY_ICON 107 +#define GAIM_OFFLINE_TRAY_ICON 108 +#define GAIM_AWAY_TRAY_ICON 109
--- a/src/win32/systray.c Thu Dec 19 20:32:27 2002 +0000 +++ b/src/win32/systray.c Thu Dec 19 20:33:57 2002 +0000 @@ -461,9 +461,9 @@ systray_create_menu(); /* Load icons, and init systray notify icon */ - sysicon_disconn = (HICON)LoadImage(wgaim_hinstance(), MAKEINTRESOURCE(GAIM_OFFLINE_ICON), IMAGE_ICON, 16, 16, 0); - sysicon_conn = (HICON)LoadImage(wgaim_hinstance(), MAKEINTRESOURCE(GAIM_ICON), IMAGE_ICON, 16, 16, 0); - sysicon_away = (HICON)LoadImage(wgaim_hinstance(), MAKEINTRESOURCE(GAIM_AWAY_ICON), IMAGE_ICON, 16, 16, 0); + sysicon_disconn = (HICON)LoadImage(wgaim_hinstance(), MAKEINTRESOURCE(GAIM_OFFLINE_TRAY_ICON), IMAGE_ICON, 16, 16, 0); + sysicon_conn = (HICON)LoadImage(wgaim_hinstance(), MAKEINTRESOURCE(GAIM_TRAY_ICON), IMAGE_ICON, 16, 16, 0); + sysicon_away = (HICON)LoadImage(wgaim_hinstance(), MAKEINTRESOURCE(GAIM_AWAY_TRAY_ICON), IMAGE_ICON, 16, 16, 0); /* Create icon in systray */ systray_init_icon(systray_hwnd, sysicon_disconn);