changeset 4087:5a1873bf4755

[gaim-migrate @ 4302] Changed icon defines in resource.h committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Mon, 16 Dec 2002 22:24:26 +0000
parents dbcaea47834c
children 97003c0ef184
files src/win32/gaimrc.rc src/win32/systray.c
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/win32/gaimrc.rc	Mon Dec 16 22:23:53 2002 +0000
+++ b/src/win32/gaimrc.rc	Mon Dec 16 22:24:26 2002 +0000
@@ -1,5 +1,5 @@
 #include "resource.h"
 
-IDI_ICON2		ICON "../pixmaps/gaim.ico"
-IDI_ICON3		ICON "../pixmaps/gaim-conn.ico"
-IDI_ICON4		ICON "../pixmaps/gaim-away.ico"
+GAIM_ICON		ICON "../pixmaps/gaim.ico"
+GAIM_OFFLINE_ICON	ICON "../pixmaps/gaim_offline.ico"
+GAIM_AWAY_ICON		ICON "../pixmaps/gaim_away.ico"
--- a/src/win32/systray.c	Mon Dec 16 22:23:53 2002 +0000
+++ b/src/win32/systray.c	Mon Dec 16 22:24:26 2002 +0000
@@ -461,9 +461,9 @@
 	systray_create_menu();
 
 	/* Load icons, and init systray notify icon */
-	sysicon_disconn = LoadIcon(wgaim_hinstance(),MAKEINTRESOURCE(IDI_ICON2));
-	sysicon_conn = LoadIcon(wgaim_hinstance(),MAKEINTRESOURCE(IDI_ICON3));
-	sysicon_away = LoadIcon(wgaim_hinstance(),MAKEINTRESOURCE(IDI_ICON4));
+	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);
 
 	/* Create icon in systray */
 	systray_init_icon(systray_hwnd, sysicon_disconn);