diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-04 18:43:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-04 18:43:13 +0300 |
commit | 86b87c4bd7f2818723d83d7b5d44561a134adf25 (patch) | |
tree | 2bebfd6100541ca9ae4cc10210ccfa246ea377b1 /plugins/NewAwaySysMod/src | |
parent | 9e7515f1d874554ccef6102f34e823368185f6b5 (diff) |
code cleaning
Diffstat (limited to 'plugins/NewAwaySysMod/src')
-rw-r--r-- | plugins/NewAwaySysMod/src/AwaySys.cpp | 2 | ||||
-rw-r--r-- | plugins/NewAwaySysMod/src/resource.h | 1 |
2 files changed, 2 insertions, 1 deletions
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
|