diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/StartupSilence/src/StartupSilence.h | 2 | ||||
-rw-r--r-- | plugins/StartupSilence/src/main.cpp | 3 | ||||
-rw-r--r-- | plugins/StartupSilence/src/version.h | 2 |
3 files changed, 3 insertions, 4 deletions
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/"
|