diff options
author | George Hazan <george.hazan@gmail.com> | 2024-07-05 17:28:39 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-07-05 17:28:39 +0300 |
commit | 363acce4a9ad970a3b04240d80d81980b18c160e (patch) | |
tree | cef96c71fd9a10da0ad9580255df56d26f4a3821 /plugins/TabSRMM | |
parent | 3d95d004ee1986d78840e9e54e105315f2c3f0d4 (diff) |
tabSRMM: correct icon for blinking in clist & tray
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgother.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp index 49a47794ff..f74673c8dd 100644 --- a/plugins/TabSRMM/src/msgdlgother.cpp +++ b/plugins/TabSRMM/src/msgdlgother.cpp @@ -763,7 +763,7 @@ void CMsgDialog::FlashOnClist(MEVENT hEvent, const DB::EventInfo &dbei) CLISTEVENT cle = {};
cle.hContact = m_hContact;
cle.hDbEvent = hEvent;
- cle.hIcon = Skin_LoadIcon(SKINICON_EVENT_MESSAGE);
+ cle.hIcon = Skin_LoadIcon((dbei.eventType == EVENTTYPE_FILE) ? SKINICON_EVENT_FILE : SKINICON_EVENT_MESSAGE);
cle.pszService = MS_MSG_READMESSAGE;
g_clistApi.pfnAddEvent(&cle);
|