Mercurial > pidgin
diff plugins/docklet/docklet-win32.c @ 13086:6c772241a6f8
[gaim-migrate @ 15448]
Apparently, if you don't have tooltip text specified for a System Tray icon, the customizations for always showing and etc. aren't stored. This seems to work if the tooltip text change, but there needs to be one at startup.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 31 Jan 2006 21:45:10 +0000 |
parents | a2de852981c1 |
children |
line wrap: on
line diff
--- a/plugins/docklet/docklet-win32.c Tue Jan 31 21:35:43 2006 +0000 +++ b/plugins/docklet/docklet-win32.c Tue Jan 31 21:45:10 2006 +0000 @@ -137,7 +137,7 @@ wgaim_nid.uFlags=NIF_ICON | NIF_MESSAGE | NIF_TIP; wgaim_nid.uCallbackMessage=WM_TRAYMESSAGE; wgaim_nid.hIcon=icon; - lstrcpy(wgaim_nid.szTip, ""); + lstrcpy(wgaim_nid.szTip, "Gaim"); Shell_NotifyIcon(NIM_ADD,&wgaim_nid); docklet_embedded(); } @@ -184,7 +184,7 @@ lstrcpyn(wgaim_nid.szTip, locenc, sizeof(wgaim_nid.szTip)/sizeof(TCHAR)); g_free(locenc); } else { - lstrcpy(wgaim_nid.szTip, ""); + lstrcpy(wgaim_nid.szTip, "Gaim"); } Shell_NotifyIcon(NIM_MODIFY, &wgaim_nid); } @@ -207,7 +207,7 @@ GetVersionEx(&osinfo); /* Load icons, and init systray notify icon - * NOTE: Windows > XP only supports displaying 4-bit images in the Systray, + * NOTE: Windows < XP only supports displaying 4-bit images in the Systray, * 2K and ME will use the highest color depth that the desktop will support, * but will scale it back to 4-bits for display. * That is why we use custom 4-bit icons for pre XP Windowses */