diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-06 19:01:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-06 19:01:35 +0000 |
commit | 28f66a98c396a1cda061d8060e95275e38590c00 (patch) | |
tree | 7f35937623849c66ef78c915fe49a8fa2b9f8a2f /plugins/Clist_modern | |
parent | df7a9042a989fb8ece52bcf0ccf68b5e925e19ce (diff) |
make extra icons options visible in Clist Classic
git-svn-id: http://svn.miranda-ng.org/main/trunk@2221 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/hdr/modern_commonheaders.h | 3 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_clistmod.cpp | 2 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_cluiservices.cpp | 11 |
3 files changed, 1 insertions, 15 deletions
diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h index a7ae21e716..6340d0c5c9 100644 --- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h +++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h @@ -454,7 +454,4 @@ public: };
};
-#define EXTRACOLUMNCOUNT 10
-
-
#endif // commonheaders_h__
diff --git a/plugins/Clist_modern/src/modern_clistmod.cpp b/plugins/Clist_modern/src/modern_clistmod.cpp index 31f1f02a80..533f46a51b 100644 --- a/plugins/Clist_modern/src/modern_clistmod.cpp +++ b/plugins/Clist_modern/src/modern_clistmod.cpp @@ -209,7 +209,7 @@ INT_PTR GetCapsService(WPARAM wParam,LPARAM lParam) case CLUICAPS_FLAGS1:
return CLUIF_HIDEEMPTYGROUPS|CLUIF_DISABLEGROUPS|CLUIF_HASONTOPOPTION|CLUIF_HASAUTOHIDEOPTION;
case CLUICAPS_FLAGS2:
- return MAKELONG(EXTRACOLUMNCOUNT,1);
+ return MAKELONG(EXTRA_ICON_COUNT,1);
}
}
return 0;
diff --git a/plugins/Clist_modern/src/modern_cluiservices.cpp b/plugins/Clist_modern/src/modern_cluiservices.cpp index 0b48b0ec47..d0eb6765c6 100644 --- a/plugins/Clist_modern/src/modern_cluiservices.cpp +++ b/plugins/Clist_modern/src/modern_cluiservices.cpp @@ -146,17 +146,6 @@ static INT_PTR ListEndRebuild(WPARAM wParam, LPARAM lParam) return 0;
}
-static int GetCaps(WPARAM wParam, LPARAM lParam)
-{
- switch (wParam) {
- case CLUICAPS_FLAGS1:
- return CLUIF_HIDEEMPTYGROUPS | CLUIF_DISABLEGROUPS | CLUIF_HASONTOPOPTION | CLUIF_HASAUTOHIDEOPTION;
- }
- return 0;
-}
-
-
-
int CLUIServices_LoadModule(void)
{
CreateServiceFunction(MS_CLUI_METASUPPORT,MetaSupportCheck);
|