diff options
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/src/MraConstans.h | 2 | ||||
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/src/Mra_functions.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MRA/src/MraConstans.h b/protocols/MRA/src/MraConstans.h index 406f471c27..ab2eb18dc0 100644 --- a/protocols/MRA/src/MraConstans.h +++ b/protocols/MRA/src/MraConstans.h @@ -119,7 +119,7 @@ static const LPSTR lpcszMailRuDomains[] = #define ADV_ICON_BLOGSTATUS_ID "ADV_ICON_BLOGSTATUS"
#define ADV_ICON_BLOGSTATUS_STR LPGEN("Blog status message")
-#define MRA_SOUND_NEW_EMAIL LPGENW("New E-mail available in Inbox")
+#define MRA_SOUND_NEW_EMAIL LPGEN("New E-mail available in Inbox")
#define MAILRU_SERVER_TIME_ZONE -180 //internal // +0300
#define MAILRU_CONTACTISTYPING_TIMEOUT 10 //internal
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index ca19b6290a..4ced9192fc 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -47,7 +47,7 @@ CMraProto::CMraProto(const char* _module, const wchar_t* _displayName) : InitMenus();
mir_snprintf(szNewMailSound, "%s_new_email", m_szModuleName);
- Skin_AddSound(szNewMailSound, m_tszUserName, MRA_SOUND_NEW_EMAIL);
+ SkinAddNewSoundEx(szNewMailSound, m_szModuleName, MRA_SOUND_NEW_EMAIL);
HookProtoEvent(ME_CLIST_PREBUILDSTATUSMENU, &CMraProto::MraRebuildStatusMenu);
diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp index bf8dea15bb..928efc9328 100644 --- a/protocols/MRA/src/Mra_functions.cpp +++ b/protocols/MRA/src/Mra_functions.cpp @@ -663,7 +663,7 @@ void CMraProto::MraUpdateEmailStatus(const CMStringA &pszFrom, const CMStringA & pcli->pfnAddEvent(&cle);
}
- Skin_PlaySound(szNewMailSound);
+ SkinPlaySound(szNewMailSound);
if (hContact) {// update user info
MraUpdateContactInfo(hContact);
MraPopupShowFromContactW(hContact, MRA_POPUP_TYPE_EMAIL_STATUS, szStatusText);
|