diff options
Diffstat (limited to 'protocols/VKontakte/src')
-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);
|