From 7acdaac08ec66c4583ae11de101428085cec5695 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Tue, 24 Nov 2015 16:11:24 +0000 Subject: StartupSlience: crutch removed git-svn-id: http://svn.miranda-ng.org/main/trunk@15773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StartupSilence/src/main.cpp | 2 +- plugins/StartupSilence/src/stdafx.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/StartupSilence/src') diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp index b94af74fd6..365018167e 100644 --- a/plugins/StartupSilence/src/main.cpp +++ b/plugins/StartupSilence/src/main.cpp @@ -396,7 +396,7 @@ static INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LP break; case IDC_DELAY2: - if (!ServiceExists(POPUPONOFF)) { + if (!ServiceExists(MS_POPUP_QUERY)) { MessageBox(0, NEEDPOPUP, NOTICE, MB_OK); CheckDlgButton(hwndDlg, IDC_DELAY2, BST_UNCHECKED); PopUp = (BYTE)db_set_b(NULL, MODULE_NAME, PopUpComp, 0); diff --git a/plugins/StartupSilence/src/stdafx.h b/plugins/StartupSilence/src/stdafx.h index d6d740dd49..d0ba0c0a19 100644 --- a/plugins/StartupSilence/src/stdafx.h +++ b/plugins/StartupSilence/src/stdafx.h @@ -44,8 +44,6 @@ INT_PTR SilenceConnection(WPARAM wParam, LPARAM lParam); //lParam = 0 - not in use #define SS_SILENCE_CONNECTION "StartupSilence/SilenceConnection" -#define POPUPONOFF "Popup/EnableDisableMenuCommand" - #define MENU_NAME LPGEN("Silence at startup") #define DISABLE_SILENCE LPGEN("Toggle Silence OFF") #define ENABLE_SILENCE LPGEN("Toggle Silence ON") -- cgit v1.2.3