From 86b87c4bd7f2818723d83d7b5d44561a134adf25 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 Apr 2021 18:43:13 +0300 Subject: code cleaning --- plugins/NewAwaySysMod/src/AwaySys.cpp | 2 ++ plugins/NewAwaySysMod/src/resource.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp index d2f00a9253..e8522f9d68 100644 --- a/plugins/NewAwaySysMod/src/AwaySys.cpp +++ b/plugins/NewAwaySysMod/src/AwaySys.cpp @@ -558,6 +558,7 @@ int MirandaLoaded(WPARAM, LPARAM) mi.hIcolibItem = iconList[8].hIcolib; mi.pszService = MS_AWAYSYS_SETCONTACTSTATMSG; g_hContactMenuItem = Menu_AddContactMenuItem(&mi); + Menu_ConfigureItem(g_hContactMenuItem, MCI_OPT_DISABLED, TRUE); memset(&mi, 0, sizeof(mi)); SET_UID(mi, 0x47a3c631, 0x8ca9, 0x4b7e, 0x84, 0x6e, 0x29, 0xbf, 0x53, 0x30, 0x6f, 0x83); @@ -566,6 +567,7 @@ int MirandaLoaded(WPARAM, LPARAM) mi.position = 1000020000; mi.name.w = LPGENW("Autoreply"); g_hToggleSOEContactMenuItem = Menu_AddContactMenuItem(&mi); + Menu_ConfigureItem(g_hToggleSOEContactMenuItem, MCI_OPT_DISABLED, TRUE); UNSET_UID(mi); mi.flags = CMIF_UNICODE | CMIF_SYSTEM; diff --git a/plugins/NewAwaySysMod/src/resource.h b/plugins/NewAwaySysMod/src/resource.h index bbf83c6415..5188e5e289 100644 --- a/plugins/NewAwaySysMod/src/resource.h +++ b/plugins/NewAwaySysMod/src/resource.h @@ -66,7 +66,6 @@ #define IDC_MOREOPTDLG_SETLASTCONTCAT 1034 #define IDC_MOREOPTDLG_SAVECONTACTMSGS 1034 #define IDC_MOREOPTDLG_SAVEPERSONALMSGS 1034 -#define IDC_MOREOPTDLG_USEMENUITEM 1035 #define IDC_MOREOPTDLG_PERSTATUSPERSONAL 1036 #define IDC_MOREOPTDLG_RESETPROTOMSGS 1037 #define IDC_MOREOPTDLG_PERSTATUSPROTOMSGS 1038 -- cgit v1.2.3