diff options
author | George Hazan <george.hazan@gmail.com> | 2016-08-30 16:07:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-08-30 16:07:17 +0000 |
commit | 052f82ecce5ebd44ea631bc0a8affb1864267301 (patch) | |
tree | 5c3305c0afbdb032fddcd99a6f1f6b4ce9e8daee /protocols/Yahoo/src/options.cpp | |
parent | 5bc75a99f400dacc75c5e84ba3e3240d54d601dc (diff) |
YAHOO Japan removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@17219 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/options.cpp')
-rw-r--r-- | protocols/Yahoo/src/options.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/protocols/Yahoo/src/options.cpp b/protocols/Yahoo/src/options.cpp index 5fe42858d8..f793642e52 100644 --- a/protocols/Yahoo/src/options.cpp +++ b/protocols/Yahoo/src/options.cpp @@ -65,7 +65,7 @@ static INT_PTR CALLBACK DlgProcYahooOpts(HWND hwndDlg, UINT msg, WPARAM wParam, switch (LOWORD(wParam)) { case IDC_NEWYAHOOACCOUNTLINK: - Utils_OpenUrl(ppro->getByte("YahooJapan", 0) ? "http://edit.yahoo.co.jp/config/eval_register" : "http://edit.yahoo.com/config/eval_register"); + Utils_OpenUrl("http://edit.yahoo.com/config/eval_register"); return TRUE; //case IDC_DISABLE_UTF8: @@ -168,14 +168,9 @@ static INT_PTR CALLBACK DlgProcYahooOptsConn(HWND hwndDlg, UINT msg, WPARAM wPar SetDlgItemTextA(hwndDlg, IDC_LOGINSERVER, dbv.pszVal); db_free(&dbv); } - else SetDlgItemTextA(hwndDlg, IDC_LOGINSERVER, - ppro->getByte("YahooJapan", 0) - ? YAHOO_DEFAULT_JAPAN_LOGIN_SERVER - : YAHOO_DEFAULT_LOGIN_SERVER); + else SetDlgItemTextA(hwndDlg, IDC_LOGINSERVER, YAHOO_DEFAULT_LOGIN_SERVER); SetDlgItemInt(hwndDlg, IDC_YAHOOPORT, ppro->getWord(YAHOO_LOGINPORT, YAHOO_DEFAULT_PORT), FALSE); - - SetButtonCheck(hwndDlg, IDC_YAHOO_JAPAN, ppro->getByte("YahooJapan", 0)); return TRUE; case WM_COMMAND: @@ -185,16 +180,6 @@ static INT_PTR CALLBACK DlgProcYahooOptsConn(HWND hwndDlg, UINT msg, WPARAM wPar SetDlgItemInt(hwndDlg, IDC_YAHOOPORT, YAHOO_DEFAULT_PORT, FALSE); SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); break; - - case IDC_YAHOO_JAPAN: - SetDlgItemTextA(hwndDlg, IDC_LOGINSERVER, - (IsDlgButtonChecked(hwndDlg, IDC_YAHOO_JAPAN) == BST_CHECKED) ? -YAHOO_DEFAULT_JAPAN_LOGIN_SERVER : - YAHOO_DEFAULT_LOGIN_SERVER); - // fall through and enable apply button - - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - break; } if (HIWORD(wParam) == EN_CHANGE && (HWND)lParam == GetFocus()) @@ -227,8 +212,6 @@ YAHOO_DEFAULT_JAPAN_LOGIN_SERVER : ppro->setWord(YAHOO_LOGINPORT, port); - ppro->setByte("YahooJapan", (BYTE)IsDlgButtonChecked(hwndDlg, IDC_YAHOO_JAPAN)); - if (reconnectRequired && ppro->m_bLoggedIn) MessageBox(hwndDlg, TranslateT("These changes will take effect the next time you connect to the Yahoo network."), TranslateT("Yahoo options"), MB_OK); |