From 91cae4936714bc356a3686daf444d672734da13d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 30 May 2012 16:07:12 +0000 Subject: changed default settings for proto menus git-svn-id: http://svn.miranda-ng.org/main/trunk@236 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protoopts.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/modules/protocols/protoopts.cpp') diff --git a/src/modules/protocols/protoopts.cpp b/src/modules/protocols/protoopts.cpp index 3d9c0a2b36..d1212c3790 100644 --- a/src/modules/protocols/protoopts.cpp +++ b/src/modules/protocols/protoopts.cpp @@ -192,7 +192,7 @@ static INT_PTR CALLBACK AccFormDlgProc(HWND hwndDlg,UINT message, WPARAM wParam, if ( ActivateAccount( pa )) { pa->ppro->OnEvent( EV_PROTO_ONLOAD, 0, 0 ); - if (!DBGetContactSettingByte(NULL, "CList", "MoveProtoMenus", FALSE)) + if (!DBGetContactSettingByte(NULL, "CList", "MoveProtoMenus", TRUE)) pa->ppro->OnEvent( EV_PROTO_ONMENU, 0, 0 ); } else pa->type = PROTOTYPE_DISPROTO; @@ -779,11 +779,10 @@ INT_PTR CALLBACK AccMgrDlgProc(HWND hwndDlg,UINT message, WPARAM wParam, LPARAM if ( pa->bIsEnabled ) { if ( ActivateAccount( pa )) { pa->ppro->OnEvent( EV_PROTO_ONLOAD, 0, 0 ); - if (!DBGetContactSettingByte(NULL, "CList", "MoveProtoMenus", FALSE)) + if (!DBGetContactSettingByte(NULL, "CList", "MoveProtoMenus", TRUE)) pa->ppro->OnEvent( EV_PROTO_ONMENU, 0, 0 ); } - else pa->type = PROTOTYPE_DISPROTO; - } + else pa->type = PROTOTYPE_DISPROTO; } else { DWORD dwStatus = CallProtoService(pa->szModuleName, PS_GETSTATUS, 0, 0); if (dwStatus >= ID_STATUS_ONLINE) { -- cgit v1.2.3