diff options
-rw-r--r-- | protocols/JabberG/src/jabber_console.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp index 547ac15c80..7f4ab9c19f 100644 --- a/protocols/JabberG/src/jabber_console.cpp +++ b/protocols/JabberG/src/jabber_console.cpp @@ -313,6 +313,12 @@ public: {
CSuper::OnInitDialog();
+ CMStringW title;
+ title.Truncate(GetWindowTextLength(m_hwnd));
+ GetWindowText(m_hwnd, title.GetBuffer(), title.GetLength() + 1);
+ title.AppendFormat(L" [%s/%s]", m_proto->getMStringW("jid").c_str(), m_proto->getMStringW("Resource").c_str());
+ SetWindowText(m_hwnd, title.c_str());
+
Window_SetIcon_IcoLib(m_hwnd, g_plugin.getIconHandle(IDI_CONSOLE));
SendDlgItemMessage(m_hwnd, IDC_CONSOLE, EM_SETEDITSTYLE, SES_EXTENDBACKCOLOR, SES_EXTENDBACKCOLOR);
SendDlgItemMessage(m_hwnd, IDC_CONSOLE, EM_EXLIMITTEXT, 0, 0x80000000);
|