diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-07 20:35:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-07 20:35:29 +0000 |
commit | e31ac6c82a921e5d972fe3a3d437f18f147877a9 (patch) | |
tree | 771e43e5edba542df8d972653a9141cfa5bc091e /plugins/MenuItemEx/src/main.cpp | |
parent | c67ee19b7db5bd93c5dbc11865834ff8dd1db924 (diff) |
duplicated and unused services removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4899 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MenuItemEx/src/main.cpp')
-rw-r--r-- | plugins/MenuItemEx/src/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index ce77c69938..9ced29f044 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -500,7 +500,6 @@ INT_PTR onSetVis(WPARAM wparam,LPARAM lparam) INT_PTR onHide(WPARAM wparam,LPARAM lparam)
{
db_set_b((HANDLE)wparam,"CList","Hidden",(byte)!db_get_b((HANDLE)wparam,"CList","Hidden",0));
- CallService(MS_CLUI_SORTLIST,0,0);
return 0;
}
@@ -776,10 +775,8 @@ int isIgnored(HANDLE hContact, int type) INT_PTR onIgnore(WPARAM wparam,LPARAM lparam)
{
- if (db_get_b(NULL, MODULENAME, "ignorehide", 0) && (lparam == IGNOREEVENT_ALL)) {
+ if (db_get_b(NULL, MODULENAME, "ignorehide", 0) && (lparam == IGNOREEVENT_ALL))
db_set_b((HANDLE)wparam, "CList", "Hidden", (isIgnored((HANDLE)wparam, lparam) ? (byte)0 : (byte)1));
- CallService(MS_CLUI_SORTLIST, 0, 0);
- }
CallService(isIgnored((HANDLE)wparam, lparam) ? MS_IGNORE_UNIGNORE : MS_IGNORE_IGNORE, wparam, lparam);
return 0;
|