summaryrefslogtreecommitdiff
path: root/plugins/StartupSilence
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2014-01-09 17:41:10 +0000
committerDart Raiden <wowemuh@gmail.com>2014-01-09 17:41:10 +0000
commit80fdf5cd7f151aff37a87c5e1e0ca9ec1a4bbf27 (patch)
tree597f527223105f155f31ff43e50d108c7d98a41d /plugins/StartupSilence
parentf55a5321643650db7db5d013d40a7ef1205a0830 (diff)
StartupSilence: more correct plugin description (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7569 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StartupSilence')
-rw-r--r--plugins/StartupSilence/src/StartupSilence.h2
-rw-r--r--plugins/StartupSilence/src/main.cpp3
-rw-r--r--plugins/StartupSilence/src/version.h2
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/"