diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-26 08:29:32 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-26 08:29:32 +0000 |
commit | 2d006f64c5f09c797d003b4eac3304396cb6869e (patch) | |
tree | 457084331c47b8e5ecc18a4a0cdc10573f8cc8e4 /protocols/VKontakte | |
parent | 393d390d82863080d1cba91a1414c3de7912a714 (diff) |
VKontakte: Notify -> Notification
git-svn-id: http://svn.miranda-ng.org/main/trunk@10597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 12 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk_proto.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index c6326325a9..6741d315c6 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -82,8 +82,8 @@ CVkProto::~CVkProto() UnInitMenus();
if (m_hPopupClassError)
Popup_UnregisterClass(m_hPopupClassError);
- if (m_hPopupClassNotify)
- Popup_UnregisterClass(m_hPopupClassNotify);
+ if (m_hPopupClassNotification)
+ Popup_UnregisterClass(m_hPopupClassNotification);
vk_Instances.remove(this);
}
@@ -213,15 +213,15 @@ void CVkProto::InitPopups(void) m_hPopupClassError = Popup_RegisterClass(&ppc);
Skin_ReleaseIcon(ppc.hIcon);
- mir_sntprintf(desc, SIZEOF(desc), _T("%s %s"), m_tszUserName, TranslateT("Notify"));
- mir_snprintf(name, SIZEOF(name), "%s_%s", m_szModuleName, "Notify");
+ mir_sntprintf(desc, SIZEOF(desc), _T("%s %s"), m_tszUserName, TranslateT("Notification"));
+ mir_snprintf(name, SIZEOF(name), "%s_%s", m_szModuleName, "Notification");
ppc.ptszDescription = desc;
ppc.pszName = name;
ppc.hIcon = LoadSkinnedIcon(SKINICON_INFORMATION);
ppc.colorBack = RGB(190, 225, 255); //Blue
ppc.colorText = RGB(255, 255, 255); //White
ppc.iSeconds = 4;
- m_hPopupClassNotify = Popup_RegisterClass(&ppc);
+ m_hPopupClassNotification = Popup_RegisterClass(&ppc);
Skin_ReleaseIcon(ppc.hIcon);
}
@@ -235,7 +235,7 @@ void CVkProto::MsgPopup(MCONTACT hContact, const TCHAR *szMsg, const TCHAR *szTi ppd.ptszText = szMsg;
ppd.pszClassName = name;
ppd.hContact = hContact;
- mir_snprintf(name, SIZEOF(name), "%s_%s", m_szModuleName, err ? "Error" : "Notify");
+ mir_snprintf(name, SIZEOF(name), "%s_%s", m_szModuleName, err ? "Error" : "Notification");
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&ppd);
}
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index 581c8e3c72..8dc68f26d2 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -370,7 +370,7 @@ private: CMString GetAttachmentDescr(JSONNODE*);
- HANDLE m_hPopupClassError, m_hPopupClassNotify;
+ HANDLE m_hPopupClassError, m_hPopupClassNotification;
void InitPopups(void);
void MsgPopup(MCONTACT hContact, const TCHAR *szMsg, const TCHAR *szTitle, bool err=false);
|