diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-08 19:11:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-08 19:11:12 +0000 |
commit | 3fb037e2700bae9b71959b149bab067ca5745377 (patch) | |
tree | fa8b946f4b5ff737e86a295da4f4c36288aea9a6 /plugins/MetaContacts | |
parent | b97d1447fc69f57aebb24987068af752f7da7999 (diff) |
old crazy menu processing code removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4395 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MetaContacts')
-rw-r--r-- | plugins/MetaContacts/src/meta_menu.cpp | 6 | ||||
-rwxr-xr-x | plugins/MetaContacts/src/meta_services.cpp | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/MetaContacts/src/meta_menu.cpp b/plugins/MetaContacts/src/meta_menu.cpp index 7ba3115d16..556eb5fe2d 100644 --- a/plugins/MetaContacts/src/meta_menu.cpp +++ b/plugins/MetaContacts/src/meta_menu.cpp @@ -450,10 +450,8 @@ int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam) Menu_ShowItem(hMenuDefault, false);
}
- for (int i = 0; i < MAX_CONTACTS; i++) {
- mi.flags = CMIM_FLAGS | CMIF_HIDDEN;
- Menu_ShowItem(hMenuContact[i], (LPARAM)&mi);
- }
+ for (int i = 0; i < MAX_CONTACTS; i++)
+ Menu_ShowItem(hMenuContact[i], false);
}
return 0;
}
diff --git a/plugins/MetaContacts/src/meta_services.cpp b/plugins/MetaContacts/src/meta_services.cpp index fc0d9d903c..9403c24675 100755 --- a/plugins/MetaContacts/src/meta_services.cpp +++ b/plugins/MetaContacts/src/meta_services.cpp @@ -1027,7 +1027,6 @@ int Meta_ModulesLoaded(WPARAM wParam, LPARAM lParam) ////////////////////////////////////////////////////////////////////////////
CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIM_ALL;
// main menu item
mi.icolibItem = GetIconHandle(I_MENUOFF);
|