diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-09 09:02:20 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-09 09:02:20 +0000 |
commit | f0ecf7f0fba6e1e2722bb26ecd74905f10f459b3 (patch) | |
tree | c8b5964f020c99c3e16e6bca65a6ee5a83ebd5b1 /protocols/SkypeWeb/src/skype_utils.cpp | |
parent | b9b6948148b24c5062a1646949477b04a697ce52 (diff) |
SkypeWeb: Error & action icons (thx dracosha).
git-svn-id: http://svn.miranda-ng.org/main/trunk@13490 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_utils.cpp | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp index 6defeed3f5..0024ba63c8 100644 --- a/protocols/SkypeWeb/src/skype_utils.cpp +++ b/protocols/SkypeWeb/src/skype_utils.cpp @@ -449,10 +449,24 @@ void CSkypeProto::ShowNotification(const TCHAR *caption, const TCHAR *message, i if (ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
CMStringA className(FORMAT, "%s_", m_szModuleName);
- if (type == SKYPE_DB_EVENT_TYPE_INCOMING_CALL)
- className.Append("Call");
- else
- className.Append("Notification");
+ switch (type)
+ {
+ case 1:
+ {
+ className.Append("Error");
+ break;
+ }
+ case SKYPE_DB_EVENT_TYPE_INCOMING_CALL:
+ {
+ className.Append("Call");
+ break;
+ }
+ default:
+ {
+ className.Append("Notification");
+ break;
+ }
+ }
POPUPDATACLASS ppd = { sizeof(ppd) };
ppd.ptszTitle = caption;
|