diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-11-24 16:11:24 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-11-24 16:11:24 +0000 |
commit | 7acdaac08ec66c4583ae11de101428085cec5695 (patch) | |
tree | c3501e5d80dbf67d1a8f0831db8a8665b0f98d4e /plugins/StartupSilence | |
parent | fd50127915ce0d2844834d640a1bec0c38d1bef6 (diff) |
StartupSlience: crutch removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@15773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StartupSilence')
-rw-r--r-- | plugins/StartupSilence/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/StartupSilence/src/stdafx.h | 2 |
2 files changed, 1 insertions, 3 deletions
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")
|