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 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/VKontakte/src/vk_proto.cpp') 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); } -- cgit v1.2.3