diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-26 20:06:47 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-26 20:06:47 +0300 |
commit | d61bc49d53578c26b50531fdec1bbd633e19b6ac (patch) | |
tree | 5a01dfcc693755cb606f301f680b0c9b551776e0 /protocols/IcqOscarJ | |
parent | 840ad4f0021d0aa3398fd0c027e84029bdf0e903 (diff) |
fix for ICQ user info tree
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/userinfotab.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/userinfotab.cpp b/protocols/IcqOscarJ/src/userinfotab.cpp index 9f25cbb649..4076e4a2f9 100644 --- a/protocols/IcqOscarJ/src/userinfotab.cpp +++ b/protocols/IcqOscarJ/src/userinfotab.cpp @@ -269,16 +269,18 @@ int CIcqProto::OnUserInfoInit(WPARAM wParam, LPARAM lParam) return 0;
OPTIONSDIALOGPAGE odp = {};
- odp.flags = ODPF_UNICODE | ODPF_DONTTRANSLATE;
+ odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_DONTTRANSLATE;
odp.dwInitParam = LPARAM(this);
+ odp.szTitle.w = m_tszUserName;
+
odp.pfnDlgProc = IcqDlgProc;
odp.position = -1900000000;
- odp.szTitle.w = m_tszUserName;
+ odp.szTab.w = LPGENW("Info");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_ICQ);
g_plugin.addUserInfo(wParam, &odp);
if (!lParam) {
- odp.szTitle.w = LPGENW("ICQ Details");
+ odp.szTab.w = LPGENW("Account");
odp.position = -1899999999;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_CHANGEINFO);
odp.pfnDlgProc = ChangeInfoDlgProc;
|