From e31ac6c82a921e5d972fe3a3d437f18f147877a9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 7 Jun 2013 20:35:29 +0000 Subject: duplicated and unused services removed git-svn-id: http://svn.miranda-ng.org/main/trunk@4899 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/MenuItemEx/src') 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; -- cgit v1.2.3