summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-05 12:58:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-05 12:58:18 +0300
commitb2d136e6c0a2e654aa09adee6d01e2ebe9c02ce1 (patch)
tree2ba2d43fd7784da2b8cebf83e40b825a7c245dc0 /protocols
parentff9679b7f42879dde78c4f74682eff63ee152e7c (diff)
StdUserInfo: more compact variant of tree
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/userinfo.cpp5
-rw-r--r--protocols/JabberG/src/jabber_userinfo.cpp3
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/ICQ-WIM/src/userinfo.cpp b/protocols/ICQ-WIM/src/userinfo.cpp
index 3be4624d13..6265dc6a4a 100644
--- a/protocols/ICQ-WIM/src/userinfo.cpp
+++ b/protocols/ICQ-WIM/src/userinfo.cpp
@@ -52,9 +52,8 @@ int CIcqProto::OnUserInfoInit(WPARAM wParam, LPARAM hContact)
return 0;
USERINFOPAGE uip = {};
- uip.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_DONTTRANSLATE;
- uip.szGroup.w = m_tszUserName;
-
+ uip.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_DONTTRANSLATE | ODPF_ICON;
+ uip.dwInitParam = (LPARAM)Skin_GetProtoIcon(m_szModuleName, ID_STATUS_ONLINE);
uip.szTitle.w = L"ICQ";
uip.position = -1900000000;
uip.pDialog = new IcqUserInfoDlg(this);
diff --git a/protocols/JabberG/src/jabber_userinfo.cpp b/protocols/JabberG/src/jabber_userinfo.cpp
index 03b65daf1f..46e52abc77 100644
--- a/protocols/JabberG/src/jabber_userinfo.cpp
+++ b/protocols/JabberG/src/jabber_userinfo.cpp
@@ -845,8 +845,9 @@ int CJabberProto::OnUserInfoInit(WPARAM wParam, LPARAM hContact)
if (szProto != nullptr && !mir_strcmp(szProto, m_szModuleName)) {
USERINFOPAGE uip = {};
uip.dwInitParam = (LPARAM)this;
- uip.flags = ODPF_UNICODE | ODPF_USERINFOTAB;
+ uip.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_ICON;
uip.szGroup.w = m_tszUserName;
+ uip.dwInitParam = (LPARAM)Skin_GetProtoIcon(m_szModuleName, ID_STATUS_ONLINE);
uip.pDialog = new JabberUserInfoDlg(this);
uip.position = -2000000000;