From 2d006f64c5f09c797d003b4eac3304396cb6869e Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Fri, 26 Sep 2014 08:29:32 +0000 Subject: VKontakte: Notify -> Notification git-svn-id: http://svn.miranda-ng.org/main/trunk@10597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.cpp | 12 ++++++------ protocols/VKontakte/src/vk_proto.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols') 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); -- cgit v1.2.3