# HG changeset patch # User Herman Bloggs # Date 1040330037 0 # Node ID 003e0a02d6b95d4c19625fac8dd81f4d97d3d30f # Parent a2c34238f4079949f8cd41246bdace76a2b00a1b [gaim-migrate @ 4316] New 4bit icons for systray committer: Tailor Script diff -r a2c34238f407 -r 003e0a02d6b9 src/win32/gaimrc.rc --- 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" diff -r a2c34238f407 -r 003e0a02d6b9 src/win32/resource.h --- 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 diff -r a2c34238f407 -r 003e0a02d6b9 src/win32/systray.c --- 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);