diff options
author | Dart Raiden <wowemuh@gmail.com> | 2016-10-10 16:33:12 +0000 |
---|---|---|
committer | Dart Raiden <wowemuh@gmail.com> | 2016-10-10 16:33:12 +0000 |
commit | f07689fbf39405ef5a3e3dafb340c9c8f74897f6 (patch) | |
tree | cdb3fe675cf787b0210e04cab4d4b1e0ac908059 /protocols | |
parent | 3ede6bad250c4f9d6f2de5ec217c0fe96054f78e (diff) |
remove Yandex from Jabber presets
git-svn-id: http://svn.miranda-ng.org/main/trunk@17359 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rwxr-xr-x | protocols/JabberG/src/jabber_opt.cpp | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 68c8ef26df..2959ff5603 100755 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -1579,7 +1579,7 @@ public: }
protected:
- enum { ACC_PUBLIC, ACC_TLS, ACC_SSL, ACC_GTALK, ACC_LJTALK, ACC_LOL_EN, ACC_LOL_EW, ACC_LOL_OC, ACC_LOL_US, ACC_OK, ACC_SMS, ACC_YANDEX };
+ enum { ACC_PUBLIC, ACC_TLS, ACC_SSL, ACC_GTALK, ACC_LJTALK, ACC_LOL_EN, ACC_LOL_EW, ACC_LOL_OC, ACC_LOL_US, ACC_OK, ACC_SMS };
void OnInitDialog()
{
@@ -1625,7 +1625,6 @@ protected: m_cbType.AddString(TranslateT("League Of Legends (US)"), ACC_LOL_US);
m_cbType.AddString(TranslateT("Odnoklassniki"), ACC_OK);
m_cbType.AddString(TranslateT("S.ms"), ACC_SMS);
- m_cbType.AddString(TranslateT("Yandex"), ACC_YANDEX);
char server[256], manualServer[256] = { 0 };
m_cbServer.GetTextA(server, _countof(server));
@@ -1666,10 +1665,6 @@ protected: m_cbType.SetCurSel(ACC_SMS);
m_canregister = false;
}
- else if (!mir_strcmp(server, "ya.ru")) {
- m_cbType.SetCurSel(ACC_YANDEX);
- m_canregister = false;
- }
else if (m_proto->m_options.UseSSL)
m_cbType.SetCurSel(ACC_SSL);
else if (m_proto->m_options.UseTLS) {
@@ -1766,7 +1761,6 @@ protected: case ACC_TLS:
case ACC_LJTALK:
case ACC_SMS:
- case ACC_YANDEX:
m_proto->m_options.UseSSL = FALSE;
m_proto->m_options.UseTLS = TRUE;
break;
@@ -1920,7 +1914,6 @@ private: void setupLOLUS();
void setupOK();
void setupSMS();
- void setupYA();
void RefreshServers(HXML node);
static void QueryServerListThread(void *arg);
};
@@ -1962,7 +1955,6 @@ void CJabberDlgAccMgrUI::setupConnection(int type) case ACC_LOL_US: setupLOLUS(); break;
case ACC_OK: setupOK(); break;
case ACC_SMS: setupSMS(); break;
- case ACC_YANDEX: setupYA(); break;
}
}
@@ -2156,24 +2148,6 @@ void CJabberDlgAccMgrUI::setupSMS() m_btnRegister.Disable();
}
-void CJabberDlgAccMgrUI::setupYA()
-{
- m_canregister = false;
- m_gotservers = true;
- m_cbServer.ResetContent();
- m_cbServer.SetTextA("ya.ru");
- m_cbServer.AddStringA("ya.ru");
- m_chkManualHost.SetState(BST_UNCHECKED);
- m_txtManualHost.SetTextA("xmpp.yandex.ru");
- m_txtPort.SetInt(5222);
-
- m_cbServer.Disable();
- m_chkManualHost.Disable();
- m_txtManualHost.Disable();
- m_txtPort.Disable();
- m_btnRegister.Disable();
-}
-
void CJabberDlgAccMgrUI::RefreshServers(HXML node)
{
m_gotservers = node != NULL;
|