[gaim-migrate @ 15448]

Tue, 31 Jan 2006 21:45:10 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Tue, 31 Jan 2006 21:45:10 +0000
changeset 13087
0ed686d2bd7a
parent 13086
0e5a0a33475b
child 13088
6254abd3dec1

[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.

plugins/docklet/docklet-win32.c file | annotate | diff | comparison | revisions
--- 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 */

mercurial