diff options
author | George Hazan <ghazan@miranda.im> | 2022-02-12 11:55:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-02-12 11:55:11 +0300 |
commit | 90239852e737675444727f45c2b6eb0ced31f989 (patch) | |
tree | c1e3f7321d8be6daf7484fb42e2013ec676877c8 /plugins/NewEventNotify/src/popup.cpp | |
parent | c9a014304af901c2266e1170b030956e8601e293 (diff) |
minor interface glitches in NEN
Diffstat (limited to 'plugins/NewEventNotify/src/popup.cpp')
-rw-r--r-- | plugins/NewEventNotify/src/popup.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp index b991a40c7c..d4830b95d6 100644 --- a/plugins/NewEventNotify/src/popup.cpp +++ b/plugins/NewEventNotify/src/popup.cpp @@ -367,6 +367,15 @@ int PopupShow(MCONTACT hContact, MEVENT hEvent, UINT eventType) sampleEvent = TranslateT("This is a sample file event :-D");
break;
+ case EVENTTYPE_ERRMSG:
+ if (!(g_plugin.maskNotify & MASK_ERROR)) return 1;
+ pudw.lchIcon = Skin_LoadIcon(SKINICON_OTHER_DELETE);
+ pudw.colorBack = g_plugin.err.bDefault ? 0 : g_plugin.err.backColor;
+ pudw.colorText = g_plugin.err.bDefault ? 0 : g_plugin.err.textColor;
+ iSeconds = g_plugin.err.iDelay;
+ sampleEvent = TranslateT("This is a sample error event :-D");
+ break;
+
default:
if (!(g_plugin.maskNotify & MASK_OTHER)) return 1;
pudw.lchIcon = Skin_LoadIcon(SKINICON_OTHER_MIRANDA);
|