diff options
author | George Hazan <ghazan@miranda.im> | 2022-09-24 13:23:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-09-24 13:23:21 +0300 |
commit | c0fe9d2fcc2b9760333cd195b771ca704728f6cd (patch) | |
tree | 65492d53a7165789e187c758af80d8917e077cfe /protocols/ICQ-WIM | |
parent | a4bd7890860122ffc5e7799194ae390c10299c18 (diff) |
fixes #3197 (ICQ: remove ability to login via e-mail))
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r-- | protocols/ICQ-WIM/res/resources.rc | 4 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/options.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/resource.h | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/res/resources.rc b/protocols/ICQ-WIM/res/resources.rc index 525be92c6b..308e27c4ab 100644 --- a/protocols/ICQ-WIM/res/resources.rc +++ b/protocols/ICQ-WIM/res/resources.rc @@ -85,7 +85,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - LTEXT "UIN/e-mail:",IDC_STATIC,0,2,53,8 + LTEXT "UIN/e-mail:",IDC_UIN_LABEL,0,2,53,8 EDITTEXT IDC_UIN,54,0,131,12,ES_AUTOHSCROLL LTEXT "Password:",IDC_STATIC,0,18,53,8 EDITTEXT IDC_PASSWORD,54,17,131,12,ES_PASSWORD | ES_AUTOHSCROLL @@ -98,7 +98,7 @@ EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN GROUPBOX "ICQ",IDC_STATIC,1,0,305,62 - RTEXT "UIN/e-mail:",IDC_STATIC,10,14,79,8 + RTEXT "UIN/e-mail:",IDC_UIN_LABEL,10,14,79,8 EDITTEXT IDC_UIN,98,12,106,12,ES_AUTOHSCROLL RTEXT "Password:",IDC_STATIC,10,30,79,8 EDITTEXT IDC_PASSWORD,98,29,106,12,ES_PASSWORD | ES_AUTOHSCROLL diff --git a/protocols/ICQ-WIM/src/options.cpp b/protocols/ICQ-WIM/src/options.cpp index 6fc9b0fbc9..7a53219a3d 100644 --- a/protocols/ICQ-WIM/src/options.cpp +++ b/protocols/ICQ-WIM/src/options.cpp @@ -248,6 +248,8 @@ public: { if (m_proto->m_isMra) btnCreate.Hide(); + else + SetDlgItemText(m_hwnd, IDC_UIN_LABEL, TranslateT("UIN:")); wszOldPass = m_proto->getMStringW("Password"); edtPassword.SetText(wszOldPass); diff --git a/protocols/ICQ-WIM/src/resource.h b/protocols/ICQ-WIM/src/resource.h index ed08e3b312..0fb507d56d 100644 --- a/protocols/ICQ-WIM/src/resource.h +++ b/protocols/ICQ-WIM/src/resource.h @@ -41,6 +41,7 @@ #define IDC_LIST1 1024 #define IDC_STATUS2 1025 #define IDC_GROUPS 1025 +#define IDC_UIN_LABEL 1026 // Next default values for new objects // |