diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-30 19:42:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-30 19:42:56 +0000 |
commit | fbee3cd215bb9060a2e2ce9ee11e1f994b6def4b (patch) | |
tree | 2603016b936c3c54e9658aec8b4018743d950c4a /plugins | |
parent | 8257d9c829e65f5102632b1f448713730e2c8ddb (diff) |
CList/UseGroups default value switched to true
git-svn-id: http://svn.miranda-ng.org/main/trunk@5891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ShellExt/src/shlcom.cpp | 2 | ||||
-rw-r--r-- | plugins/ShellExt/src/shlext.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
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
|