mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added parameter usage to cygwin notify
This commit is contained in:
parent
d212a93e44
commit
5486b4348f
@ -1706,8 +1706,8 @@ _notify(const char * const message, int timeout,
|
|||||||
// For a Ballon Tip
|
// For a Ballon Tip
|
||||||
nid.uFlags = NIF_INFO;
|
nid.uFlags = NIF_INFO;
|
||||||
strcpy(nid.szInfoTitle, "Profanity"); // Title
|
strcpy(nid.szInfoTitle, "Profanity"); // Title
|
||||||
strcpy(nid.szInfo, "New something!" ); // Copy Tip
|
strcpy(nid.szInfo, message); // Copy Tip
|
||||||
nid.uTimeout = 3000; // 3 Seconds
|
nid.uTimeout = timeout; // 3 Seconds
|
||||||
nid.dwInfoFlags = NIIF_INFO;
|
nid.dwInfoFlags = NIIF_INFO;
|
||||||
|
|
||||||
Shell_NotifyIcon(NIM_MODIFY, &nid);
|
Shell_NotifyIcon(NIM_MODIFY, &nid);
|
||||||
|
Loading…
Reference in New Issue
Block a user