From c494390841abd3b70e832f7f6f07ccadfeece96c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Feb 2014 17:26:54 +0000 Subject: - removed option for copying mc history; - removed SavedDefault; - removed a bunch of terrors; - LPGEN for menu items returned back instead of Translate git-svn-id: http://svn.miranda-ng.org/main/trunk@8303 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_menu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/metacontacts/meta_menu.cpp') diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp index f231449c2c..545042a443 100644 --- a/src/modules/metacontacts/meta_menu.cpp +++ b/src/modules/metacontacts/meta_menu.cpp @@ -321,6 +321,7 @@ INT_PTR Meta_ForceDefault(WPARAM wParam, LPARAM lParam) int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam) { CLISTMENUITEM mi = { sizeof(mi) }; + Menu_ShowItem(hMenuRoot, false); if (db_get_dw(wParam, META_PROTO, META_ID, -1) != (DWORD)-1) { // save the mouse pos in case they open a subcontact menu @@ -334,7 +335,7 @@ int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam) Menu_ShowItem(hMenuDelete, false); mi.flags = CMIM_NAME; - mi.pszName = LPGEN("Remove from MetaContact"); + mi.pszName = LPGEN("Remove from metacontact"); Menu_ModifyItem(hMenuDelete, &mi); //show subcontact menu items @@ -397,7 +398,6 @@ int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam) CallService(MS_NUDGE_SHOWMENU, (WPARAM)META_PROTO, (LPARAM)ServiceExists(serviceFunc)); } else { // This is a simple contact - Menu_ShowItem(hMenuRoot, false); if (!Meta_IsEnabled()) { // groups disabled - all meta menu options hidden Menu_ShowItem(hMenuDefault, false); @@ -411,7 +411,7 @@ int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam) Menu_ShowItem(hMenuDefault, true); mi.flags = CMIM_NAME; - mi.pszName = LPGEN("Remove from MetaContact"); + mi.pszName = LPGEN("Remove from metacontact"); Menu_ModifyItem(hMenuDelete, &mi); Menu_ShowItem(hMenuAdd, false); -- cgit v1.2.3