summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_options.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-06-06 19:12:49 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-06-06 19:12:49 +0000
commit2def01042331e4a5a9cfd21b600dc0fcc1a198b0 (patch)
tree06a524dc82357a74b6b602bde86b06fe9d26f5c1 /protocols/SkypeWeb/src/skype_options.cpp
parentdf5a99c47693ecca5337b1c0f1a65cdb6a4048a0 (diff)
SkypeWeb: Checkbox for "use hostname as place".
git-svn-id: http://svn.miranda-ng.org/main/trunk@14028 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_options.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_options.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp
index 5da691d63e..a67545114a 100644
--- a/protocols/SkypeWeb/src/skype_options.cpp
+++ b/protocols/SkypeWeb/src/skype_options.cpp
@@ -25,13 +25,15 @@ CSkypeOptionsMain::CSkypeOptionsMain(CSkypeProto *proto, int idDialog)
m_autosync(this, IDC_AUTOSYNC),
m_localtime(this, IDC_LOCALTIME),
m_allasunread(this, IDC_MESASUREAD),
- m_place(this, IDC_PLACE)
+ m_place(this, IDC_PLACE),
+ m_usehostname(this, IDC_USEHOST)
{
CreateLink(m_group, SKYPE_SETTINGS_GROUP, _T("Skype"));
CreateLink(m_autosync, "AutoSync", DBVT_BYTE, 1);
CreateLink(m_localtime, "UseLocalTime", DBVT_BYTE, 0);
CreateLink(m_allasunread, "MarkMesUnread", DBVT_BYTE, 1);
CreateLink(m_place, "Place", _T(""));
+ CreateLink(m_usehostname, "UseHostName", DBVT_BYTE, 0);
}
void CSkypeOptionsMain::OnInitDialog()
@@ -40,7 +42,6 @@ void CSkypeOptionsMain::OnInitDialog()
m_skypename.SetTextA(ptrA(m_proto->getStringA(SKYPE_SETTINGS_ID)));
m_password.SetTextA(ptrA(m_proto->getStringA("Password")));
-
SendMessage(m_skypename.GetHwnd(), EM_LIMITTEXT, 32, 0);
SendMessage(m_password.GetHwnd(), EM_LIMITTEXT, 20, 0);
SendMessage(m_group.GetHwnd(), EM_LIMITTEXT, 64, 0);