diff options
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);
|