summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-06-29 12:32:39 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-06-29 12:32:39 +0000
commit813ef36870509852d8a56368b7630925acf57ee0 (patch)
tree0ea6ccefde546dd57a3b89f918a590e1a5d629f4 /protocols
parent4530fb627722a4c2018184dcdaea7fa9f44c10d7 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9615 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IcqOscarJ/src/icq_opts.cpp6
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp16
2 files changed, 11 insertions, 11 deletions
diff --git a/protocols/IcqOscarJ/src/icq_opts.cpp b/protocols/IcqOscarJ/src/icq_opts.cpp
index 05a1d8b493..103811e61e 100644
--- a/protocols/IcqOscarJ/src/icq_opts.cpp
+++ b/protocols/IcqOscarJ/src/icq_opts.cpp
@@ -195,7 +195,7 @@ static INT_PTR CALLBACK DlgProcIcqPrivacyOpts(HWND hwndDlg, UINT msg, WPARAM wPa
ppro = (CIcqProto*)lParam;
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, lParam);
{
- int nDcType = ppro->getByte("DCType", 0);
+ int nDcType = ppro->getByte("DCType", 2);
int nAddAuth = ppro->getByte("Auth", 1);
if (!ppro->icqOnline()) {
@@ -211,8 +211,8 @@ static INT_PTR CALLBACK DlgProcIcqPrivacyOpts(HWND hwndDlg, UINT msg, WPARAM wPa
CheckDlgButton(hwndDlg, IDC_ADD_AUTH, (nAddAuth == 1));
LoadDBCheckState(ppro, hwndDlg, IDC_WEBAWARE, "WebAware", 0);
LoadDBCheckState(ppro, hwndDlg, IDC_PUBLISHPRIMARY, "PublishPrimaryEmail", 0);
- LoadDBCheckState(ppro, hwndDlg, IDC_STATUSMSG_CLIST, "StatusMsgReplyCList", 0);
- LoadDBCheckState(ppro, hwndDlg, IDC_STATUSMSG_VISIBLE, "StatusMsgReplyVisible", 0);
+ LoadDBCheckState(ppro, hwndDlg, IDC_STATUSMSG_CLIST, "StatusMsgReplyCList", 1);
+ LoadDBCheckState(ppro, hwndDlg, IDC_STATUSMSG_VISIBLE, "StatusMsgReplyVisible", 1);
if (!ppro->getByte("StatusMsgReplyCList", 0))
EnableDlgItem(hwndDlg, IDC_STATUSMSG_VISIBLE, FALSE);
}
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index a1978f2c89..a626d9b0e0 100644
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -408,10 +408,10 @@ public:
CreateLink(m_txtUsername, "LoginName", _T(""));
CreateLink(m_txtPriority, "Priority", DBVT_WORD, 0, true);
CreateLink(m_chkSavePassword, proto->m_options.SavePassword);
- CreateLink(m_cbResource, "Resource", _T("Miranda"));
+ CreateLink(m_cbResource, "Resource", _T("WatcherPack"));
CreateLink(m_chkUseHostnameAsResource, proto->m_options.HostNameAsResource);
CreateLink(m_chkUseDomainLogin, proto->m_options.UseDomainLogin);
- CreateLink(m_cbServer, "LoginServer", _T("jabber.org"));
+ CreateLink(m_cbServer, "LoginServer", _T("jabber.ru"));
CreateLink(m_txtPort, "Port", DBVT_WORD, 5222);
CreateLink(m_chkUseSsl, proto->m_options.UseSSL);
CreateLink(m_chkUseTls, proto->m_options.UseTLS);
@@ -457,7 +457,7 @@ protected:
m_cbServer.AddString(TranslateT("Loading..."));
// fill predefined resources
- TCHAR *szResources[] = { _T("Home"), _T("Work"), _T("Office"), _T("Miranda") };
+ TCHAR* szResources[] = { _T("Home"), _T("Work"), _T("Office"), _T("WatcherPack") };
for (i=0; i < SIZEOF(szResources); i++)
m_cbResource.AddString(szResources[i]);
@@ -473,7 +473,7 @@ protected:
m_cbResource.AddString(tszResource);
m_cbResource.SetText(tszResource);
}
- else m_cbResource.SetText(_T("Miranda"));
+ else m_cbResource.SetText(_T("WatcherPack"));
for (i=0; g_LanguageCodes[i].szCode; i++) {
int iItem = m_cbLocale.AddString(TranslateTS(g_LanguageCodes[i].szDescription), (LPARAM)g_LanguageCodes[i].szCode);
@@ -1599,8 +1599,8 @@ public:
{
CreateLink(m_txtUsername, "LoginName", _T(""));
CreateLink(m_chkSavePassword, proto->m_options.SavePassword);
- CreateLink(m_cbResource, "Resource", _T("Miranda"));
- CreateLink(m_cbServer, "LoginServer", _T("jabber.org"));
+ CreateLink(m_cbResource, "Resource", _T("WatcherPack"));
+ CreateLink(m_cbServer, "LoginServer", _T("jabber.ru"));
CreateLink(m_txtPort, "Port", DBVT_WORD, 5222);
CreateLink(m_chkUseDomainLogin, proto->m_options.UseDomainLogin);
@@ -1631,7 +1631,7 @@ protected:
m_cbServer.AddString(TranslateT("Loading..."));
// fill predefined resources
- TCHAR *szResources[] = { _T("Home"), _T("Work"), _T("Office"), _T("Miranda") };
+ TCHAR* szResources[] = { _T("Home"), _T("Work"), _T("Office"), _T("WatcherPack") };
for (int i=0; i < SIZEOF(szResources); i++)
m_cbResource.AddString(szResources[i]);
@@ -1647,7 +1647,7 @@ protected:
m_cbResource.AddString(tszResource);
m_cbResource.SetText(tszResource);
}
- else m_cbResource.SetText(_T("Miranda"));
+ else m_cbResource.SetText(_T("WatcherPack"));
m_cbType.AddString(TranslateT("Public XMPP Network"), ACC_PUBLIC);
m_cbType.AddString(TranslateT("Secure XMPP Network"), ACC_TLS);