summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/NewAwaySysMod/src/AwaySys.cpp1
-rw-r--r--protocols/JabberG/src/jabber_menu.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp
index ffbd9ae565..daf06ea463 100644
--- a/plugins/NewAwaySysMod/src/AwaySys.cpp
+++ b/plugins/NewAwaySysMod/src/AwaySys.cpp
@@ -664,6 +664,7 @@ int MirandaLoaded(WPARAM, LPARAM)
mi.position = 1000020000;
mi.name.t = LPGENT("Autoreply");
g_hToggleSOEContactMenuItem = Menu_AddContactMenuItem(&mi);
+ UNSET_UID(mi);
mi.flags = CMIF_TCHAR | CMIF_SYSTEM;
mi.root = g_hToggleSOEContactMenuItem;
diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp
index f80c5e833d..f1c1a71f26 100644
--- a/protocols/JabberG/src/jabber_menu.cpp
+++ b/protocols/JabberG/src/jabber_menu.cpp
@@ -299,8 +299,8 @@ void g_MenuInit(void)
mi.position = -1999901011;
mi.hIcolibItem = g_GetIconHandle(IDI_NOTES);
g_hMenuDirectPresence[0] = Menu_AddContactMenuItem(&mi);
-
UNSET_UID(mi);
+
mi.flags |= CMIF_TCHAR | CMIF_SYSTEM;
mi.root = g_hMenuDirectPresence[0];
for (int i = 0; i < _countof(PresenceModeArray); i++) {
@@ -324,6 +324,7 @@ void g_MenuInit(void)
mi.position = -1999901011;
mi.hIcolibItem = g_GetIconHandle(IDI_JABBER);
g_hMenuResourcesRoot = Menu_AddContactMenuItem(&mi);
+ UNSET_UID(mi);
mi.flags |= CMIF_SYSTEM; // these menu items aren't tunable
mi.root = g_hMenuResourcesRoot;