diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-06 18:26:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-06 18:26:47 +0000 |
commit | a27b07c35565ced7f690890dcba29518ae2e4928 (patch) | |
tree | d599c43d8448816a5fcc5f09838dd817b59f3b3f /plugins/WebView | |
parent | a609a99eebd89fca7955c8957fc0f2e99c8ededb (diff) |
MS_CLIST_SYSTRAY_NOTIFY - more useless code removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@17268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WebView')
-rw-r--r-- | plugins/WebView/src/webview_alerts.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/WebView/src/webview_alerts.cpp b/plugins/WebView/src/webview_alerts.cpp index f5e40cb45d..a816dfb319 100644 --- a/plugins/WebView/src/webview_alerts.cpp +++ b/plugins/WebView/src/webview_alerts.cpp @@ -195,16 +195,8 @@ int ErrorMsgs(WPARAM wParam, LPARAM lParam) mir_snwprintf(newdisplaytext, L"%s: %s", ptszContactName, TranslateW(displaytext));
CallService("OSD/Announce", (WPARAM)newdisplaytext, 0);
}
- else if (ServiceExists(MS_CLIST_SYSTRAY_NOTIFY)) {
- MIRANDASYSTRAYNOTIFY webview_tip = {0};
- webview_tip.cbSize = sizeof(MIRANDASYSTRAYNOTIFY);
- webview_tip.szProto = NULL;
- webview_tip.tszInfoTitle = ptszContactName;
- webview_tip.tszInfo = TranslateW(displaytext);
- webview_tip.dwInfoFlags = NIIF_ERROR | NIIF_INTERN_UNICODE;
- webview_tip.uTimeout = 15000;
- CallService(MS_CLIST_SYSTRAY_NOTIFY, 0, (LPARAM) &webview_tip);
- }
+
+ Clist_TrayNotifyW(NULL, ptszContactName, TranslateW(displaytext), NIIF_ERROR, 15000);
return 0;
}
|