diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-23 15:26:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-23 15:26:17 +0000 |
commit | 5be50e1630a2f6a97c6becaf678e000fcd23656a (patch) | |
tree | 86cfd8f8f3f9dee1e2b7868901030473ad74457c /plugins/Clist_modern/src/modern_cluiframes.cpp | |
parent | 286818877f50dc103288ae15495c08e6663b1818 (diff) |
- main menu icon excluded from toolbar_icons.dll, it's grabbed via SKIN_OTHER_MAINMENU instead;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@3249 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_cluiframes.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_cluiframes.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/plugins/Clist_modern/src/modern_cluiframes.cpp b/plugins/Clist_modern/src/modern_cluiframes.cpp index 37c0a574e0..ee1fc86397 100644 --- a/plugins/Clist_modern/src/modern_cluiframes.cpp +++ b/plugins/Clist_modern/src/modern_cluiframes.cpp @@ -3926,31 +3926,31 @@ int CLUIFrameOnModulesUnload(WPARAM wParam,LPARAM lParam) //
//if (MirandaExiting()) return 0;
if ( !_hmiVisible) return 0;
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiVisible, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiTBVisible, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiLock, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiColl, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiFloating, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiAlignTop, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiAlignClient, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiAlignBottom, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiBorder, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiAlignRoot, 1 );
-
-
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiPosUp, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiPosDown, 1 );
- CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, ( LPARAM )_hmiPosRoot, 1 );
-
-
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiVisible, 1 );
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiTBVisible, 1 );
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiLock, 1 );
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiColl, 1 );
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiFloating, 1 );
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiBorder, 1 );
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiAlignRoot, 1 );
- CallService( MO_REMOVEMENUITEM, ( LPARAM )_hmiPosRoot, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiVisible, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiTBVisible, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiLock, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiColl, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiFloating, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignTop, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignClient, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignBottom, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiBorder, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignRoot, 1 );
+
+
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiPosUp, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiPosDown, 1 );
+ CallService( MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiPosRoot, 1 );
+
+
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiVisible, 1 );
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiTBVisible, 1 );
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiLock, 1 );
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiColl, 1 );
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiFloating, 1 );
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiBorder, 1 );
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiAlignRoot, 1 );
+ CallService( MO_REMOVEMENUITEM, (LPARAM)_hmiPosRoot, 1 );
_hmiVisible = 0;
return 0;
|