diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-03 18:25:32 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-03 18:25:32 +0000 |
commit | 2dda26c2d63fb543d06f046a5908ba43a5fd716e (patch) | |
tree | 6de64e4a536951e696ddb82b0dad8739938a1f58 /protocols/SkypeWeb/src/skype_accounts.cpp | |
parent | ba077766bc39745326b3bbe65b5382fcc5bc2f51 (diff) |
SkypeWeb: moved to core ui
git-svn-id: http://svn.miranda-ng.org/main/trunk@12590 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_accounts.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_accounts.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/protocols/SkypeWeb/src/skype_accounts.cpp b/protocols/SkypeWeb/src/skype_accounts.cpp index 4b1ae6d536..6a383045f2 100644 --- a/protocols/SkypeWeb/src/skype_accounts.cpp +++ b/protocols/SkypeWeb/src/skype_accounts.cpp @@ -24,12 +24,8 @@ int CSkypeProto::UninitAccount(CSkypeProto *proto) CSkypeProto* CSkypeProto::GetContactAccount(MCONTACT hContact)
{
for (int i = 0; i < Accounts.getCount(); i++)
- {
if (mir_strcmpi(GetContactProto(hContact), Accounts[i]->m_szModuleName) == 0)
- {
return Accounts[i];
- }
- }
return NULL;
}
@@ -42,10 +38,5 @@ int CSkypeProto::OnAccountLoaded(WPARAM, LPARAM) INT_PTR CSkypeProto::OnAccountManagerInit(WPARAM, LPARAM lParam)
{
- return (INT_PTR)CreateDialogParam(
- g_hInstance,
- MAKEINTRESOURCE(IDD_ACCOUNT_MANAGER),
- (HWND)lParam,
- CSkypeProto::MainOptionsProc,
- (LPARAM)this);
+ return (INT_PTR)(CSkypeOptionsMain::CreateAccountManagerPage(this, (HWND)lParam))->GetHwnd();
}
\ No newline at end of file |