plugins/docklet/MinimizeToTray.h

Mon, 12 Dec 2005 20:38:10 +0000

author
Casey Harkins <charkins@pidgin.im>
date
Mon, 12 Dec 2005 20:38:10 +0000
changeset 12472
1a11e00f8c88
parent 11709
da6e9cd5f6d9
permissions
-rw-r--r--

[gaim-migrate @ 14782]
SF Patch #1373967 from charkins

"This patch requires #1372898 to be applied first. It
adds two 3-way preferences to the docklet plugin to
determine when the tray icon should blink. One pref is
for unread IM messages, the other for unread chat
messages. The options for each:

im: never, when hidden, always
chat: never, when nick said, always

I've set the defaults to match the 1.x behavior (when
hidden for im, never for chat)."

This patch provided a function used by a previous patch. I undid my (now incorrect) changes there. I modified this to have a limit to the number of tooltips to display. I also tweaked the preference strings a bit. So, blame me if those things are wrong. ;)

committer: Richard Laager <rlaager@pidgin.im>

11709
da6e9cd5f6d9 [gaim-migrate @ 14000]
Casey Harkins <charkins@pidgin.im>
parents:
diff changeset
1 #ifndef _MINIMIZE_TO_TRAY_H_
da6e9cd5f6d9 [gaim-migrate @ 14000]
Casey Harkins <charkins@pidgin.im>
parents:
diff changeset
2 #define _MINIMIZE_TO_TRAY_H_
da6e9cd5f6d9 [gaim-migrate @ 14000]
Casey Harkins <charkins@pidgin.im>
parents:
diff changeset
3
da6e9cd5f6d9 [gaim-migrate @ 14000]
Casey Harkins <charkins@pidgin.im>
parents:
diff changeset
4 void MinimizeWndToTray(HWND hWnd);
da6e9cd5f6d9 [gaim-migrate @ 14000]
Casey Harkins <charkins@pidgin.im>
parents:
diff changeset
5 void RestoreWndFromTray(HWND hWnd);
da6e9cd5f6d9 [gaim-migrate @ 14000]
Casey Harkins <charkins@pidgin.im>
parents:
diff changeset
6
da6e9cd5f6d9 [gaim-migrate @ 14000]
Casey Harkins <charkins@pidgin.im>
parents:
diff changeset
7 #endif /* _MINIMIZE_TO_TRAY_H_ */

mercurial