From 80fdf5cd7f151aff37a87c5e1e0ca9ec1a4bbf27 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Thu, 9 Jan 2014 17:41:10 +0000 Subject: StartupSilence: more correct plugin description (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@7569 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StartupSilence/src/StartupSilence.h | 2 +- plugins/StartupSilence/src/main.cpp | 3 +-- plugins/StartupSilence/src/version.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/StartupSilence/src') diff --git a/plugins/StartupSilence/src/StartupSilence.h b/plugins/StartupSilence/src/StartupSilence.h index 5524162ada..f07b50db32 100644 --- a/plugins/StartupSilence/src/StartupSilence.h +++ b/plugins/StartupSilence/src/StartupSilence.h @@ -37,12 +37,12 @@ INT_PTR SilenceConnection(WPARAM wParam, LPARAM lParam); #define SS_SERVICE_NAME "StartupSilence/ToggleEnabled" -#define SS_SILENCE_CONNECTION "StartupSilence/SilenceConnection" //StartupSilence/SilenceConnection //external service for mute sound and popups according to plugin settings //wParam = 2 - SilenceConnection is on //wParam = 0 - SilenceConnection is off //lParam = 0 - not in use +#define SS_SILENCE_CONNECTION "StartupSilence/SilenceConnection" #define POPUPONOFF "Popup/ToggleEnabled" #define POPUPONOFFPP "Popup/EnableDisableMenuCommand" diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp index f81be2b195..5ce8eb08e6 100644 --- a/plugins/StartupSilence/src/main.cpp +++ b/plugins/StartupSilence/src/main.cpp @@ -144,12 +144,11 @@ int DisablePopup(WPARAM wParam, LPARAM lParam) return 0; return 1; } - else return 0; + else return 0;//or allow popups for unread mail notification from MRA, keepstatus ... other services? } else if (timer == 2) return 1; //block all popups at startup return 0; //---> just allow all popups with this return - //or allow popups for unread mail notification from MRA, keepstatus ... other services? } void EnablePopupModule() diff --git a/plugins/StartupSilence/src/version.h b/plugins/StartupSilence/src/version.h index 23b3375a5c..a9571c90eb 100644 --- a/plugins/StartupSilence/src/version.h +++ b/plugins/StartupSilence/src/version.h @@ -21,7 +21,7 @@ // stuff that will be used in PluginInfo section and in Version resource #define __PLUGIN_NAME "StartupSilence" #define __FILENAME "StartupSilence.dll" -#define __DESC "Disables ALL popups and sounds for 10-300 sec at Miranda startup and enables them always for Miranda NG (Automatically per computer settings)." +#define __DESC "Filtering popups and mute sounds for 10-300 sec at Miranda NG startup and setting up popups and sound to predefined state (Automatically per computer settings)." #define __AUTHOR "Vladimir Lyubimov" #define __AUTHOREMAIL "" #define __AUTHORWEB "http://miranda-ng.org/" -- cgit v1.2.3