From fbee3cd215bb9060a2e2ce9ee11e1f994b6def4b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 30 Aug 2013 19:42:56 +0000 Subject: CList/UseGroups default value switched to true git-svn-id: http://svn.miranda-ng.org/main/trunk@5891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ShellExt/src/shlcom.cpp | 2 +- plugins/ShellExt/src/shlext.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/ShellExt/src') diff --git a/plugins/ShellExt/src/shlcom.cpp b/plugins/ShellExt/src/shlcom.cpp index 51d92832e0..24dd32f9c1 100644 --- a/plugins/ShellExt/src/shlcom.cpp +++ b/plugins/ShellExt/src/shlcom.cpp @@ -429,7 +429,7 @@ void __stdcall ipcService(ULONG_PTR dwParam) // if the group mode is on, check if they want the CList setting bool bGroupMode = (BST_CHECKED == db_get_b(0, SHLExt_Name, SHLExt_UseGroups, BST_UNCHECKED)); if (bGroupMode && BST_CHECKED == db_get_b(0, SHLExt_Name, SHLExt_UseCListSetting, BST_UNCHECKED)) - bGroupMode = (1 == db_get_b(0, "CList", "UseGroups", 0)); + bGroupMode = db_get_b(0, "CList", "UseGroups", true) != 0; int iSlot = 0; // return profile if set diff --git a/plugins/ShellExt/src/shlext.cpp b/plugins/ShellExt/src/shlext.cpp index ac63a4ce12..aa59059208 100644 --- a/plugins/ShellExt/src/shlext.cpp +++ b/plugins/ShellExt/src/shlext.cpp @@ -640,6 +640,8 @@ typedef HRESULT (__stdcall *pfnDllGetVersion)(DllVersionInfo*); HRESULT TShellExt::QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT _idCmdFirst, UINT _idCmdLast, UINT uFlags) { + logA("TShellExt[%p]::QueryContextMenu: %p, %d, %d, %d, %08x\n", this, hmenu, indexMenu, _idCmdFirst, _idCmdLast, uFlags); + if (((LOWORD(uFlags) & CMF_VERBSONLY) != CMF_VERBSONLY) && ((LOWORD(uFlags) & CMF_DEFAULTONLY) != CMF_DEFAULTONLY)) { bool bMF_OWNERDRAW = false; // get the shell version -- cgit v1.2.3