summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_menu.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-15 09:15:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-15 09:15:41 +0000
commite624b1dcc719be421ed8530885ca1b259fe59fdf (patch)
treec394f1acd8a324a16523620304bd2b8d8fafd0a6 /src/modules/metacontacts/meta_menu.cpp
parent4ce98069fa28c62534c1c86f00b644fc29f7026d (diff)
PROTOACCOUNT::bIsVirtual - new flag to mark virtual protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@8609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_menu.cpp')
-rw-r--r--src/modules/metacontacts/meta_menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp
index c71c452c81..c185867947 100644
--- a/src/modules/metacontacts/meta_menu.cpp
+++ b/src/modules/metacontacts/meta_menu.cpp
@@ -345,7 +345,8 @@ int Meta_ModifyMenu(WPARAM hMeta, LPARAM lParam)
return 0;
}
- if (!options.bEnabled) {
+ PROTOACCOUNT *pa = Proto_GetAccount(cc->szProto);
+ if (!options.bEnabled || pa->bIsVirtual) {
// groups disabled - all meta menu options hidden
Menu_ShowItem(hMenuDefault, false);
Menu_ShowItem(hMenuDelete, false);