diff options
-rw-r--r-- | message_notify/MessageNotify.mdsp | 8 | ||||
-rw-r--r-- | message_notify/messagenotify.cpp | 2 | ||||
-rw-r--r-- | message_notify/popups.cpp | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/message_notify/MessageNotify.mdsp b/message_notify/MessageNotify.mdsp index 9416d50..678bb6d 100644 --- a/message_notify/MessageNotify.mdsp +++ b/message_notify/MessageNotify.mdsp @@ -96,9 +96,9 @@ extraResourceOptions= [Other]
1=..\..\include\m_database.h
[History]
-popups.cpp,3181
+popups.cpp,6357
mywindowlist.cpp,0
-options.cpp,5169
+options.cpp,5097
common.h,643
-..\..\include\m_database.h,16843
-messagenotify.cpp,9161
+..\..\include\m_database.h,16842
+messagenotify.cpp,1542
diff --git a/message_notify/messagenotify.cpp b/message_notify/messagenotify.cpp index 640a127..4e1480d 100644 --- a/message_notify/messagenotify.cpp +++ b/message_notify/messagenotify.cpp @@ -27,7 +27,7 @@ DWORD focusTimerId = 0; PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
"Message Notify",
- PLUGIN_MAKE_VERSION(0,3,0,0),
+ PLUGIN_MAKE_VERSION(0,3,0,1),
"Show a popup when a message is received",
"Scott Ellis",
"mail@scottellis.com.au",
diff --git a/message_notify/popups.cpp b/message_notify/popups.cpp index 24c983b..a82cd0d 100644 --- a/message_notify/popups.cpp +++ b/message_notify/popups.cpp @@ -139,6 +139,7 @@ void ShowPopup( HANDLE hContact, const char* line1, const char* line2, int flags POPUPDATACLASS d = {sizeof(d), "messagenotify"};
d.pszTitle = line1;
d.pszText = line2;
+ d.hContact = hContact;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
@@ -191,6 +192,7 @@ void ShowPopupW( HANDLE hContact, const wchar_t* line1, const wchar_t* line2, in POPUPDATACLASS d = {sizeof(d), "messagenotify"};
d.pwszTitle = line1;
d.pwszText = line2;
+ d.hContact = hContact;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
|