diff options
author | George Hazan <ghazan@miranda.im> | 2022-07-29 18:41:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-07-29 18:41:09 +0300 |
commit | 05eb7b2b067f366d9575be05f0f6bb90cb26a972 (patch) | |
tree | a59a4a9680e330d18c2dccbad7dd329adb2add57 /protocols/JabberG/src/jabber_proto.cpp | |
parent | 8afcca9538a45e834bb0d69658ab6cfd8a437bf3 (diff) |
fixes #3110 (remove Jabber frame)
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 80f0ccc3af..d11ab271d6 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -91,7 +91,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) : m_bBsDirectManual(this, "BsDirectManual", false),
m_bBsProxyManual(this, "BsProxyManual", false),
m_bDisable3920auth(this, "Disable3920auth", false),
- m_bDisableFrame(this, "DisableFrame", true),
m_bEnableAvatars(this, "EnableAvatars", true),
m_bEnableCarbons(this, "EnableCarbons", true),
m_bEnableChatStates(this, "EnableChatStates", true),
@@ -251,8 +250,6 @@ CJabberProto::~CJabberProto() if (m_hPopupClass)
Popup_UnregisterClass(m_hPopupClass);
- delete m_pInfoFrame;
-
DestroyHookableEvent(m_hEventNudge);
DestroyHookableEvent(m_hEventXStatusIconChanged);
DestroyHookableEvent(m_hEventXStatusChanged);
@@ -289,7 +286,6 @@ void CJabberProto::OnModulesLoaded() XStatusInit();
m_pepServices.InitGui();
- InitInfoFrame();
InitPopups();
GlobalMenuInit();
@@ -1041,7 +1037,6 @@ int CJabberProto::SetStatus(int iNewStatus) m_StrmMgmt.SendAck();
m_ThreadInfo->send("</stream:stream>");
m_ThreadInfo->shutdown();
- RebuildInfoFrame();
}
m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
@@ -1051,8 +1046,6 @@ int CJabberProto::SetStatus(int iNewStatus) m_iStatus = ID_STATUS_CONNECTING;
ProtoBroadcastAck(0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)oldStatus, m_iStatus);
ForkThread((MyThreadFunc)&CJabberProto::ServerThread, nullptr);
-
- RebuildInfoFrame();
}
else if (m_bJabberOnline)
SetServerStatus(iNewStatus);
@@ -1201,23 +1194,3 @@ int CJabberProto::UserIsTyping(MCONTACT hContact, int type) return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// InfoFrame events
-
-void CJabberProto::InfoFrame_OnSetup(CJabberInfoFrame_Event*)
-{
- OnMenuOptions(0, 0);
-}
-
-void CJabberProto::InfoFrame_OnTransport(CJabberInfoFrame_Event *evt)
-{
- if (evt->m_event == CJabberInfoFrame_Event::CLICK) {
- MCONTACT hContact = (MCONTACT)evt->m_pUserData;
- HMENU hContactMenu = Menu_BuildContactMenu(hContact);
- POINT pt;
- GetCursorPos(&pt);
- int res = TrackPopupMenu(hContactMenu, TPM_RETURNCMD, pt.x, pt.y, 0, g_clistApi.hwndContactList, nullptr);
- Clist_MenuProcessCommand(res, MPCF_CONTACTMENU, hContact);
- }
-}
|