summaryrefslogtreecommitdiff
path: root/plugins/ZeroNotification
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-03 21:47:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-03 21:47:03 +0000
commite412759d7e551e3fc4dc4be6e1fae1cd4f308868 (patch)
tree00ed12238ba8b3735ddf95cf9e79c48d7c411c78 /plugins/ZeroNotification
parent0f95cbb4a9f1c9a613dccb9d53f5ddb50a8cadd7 (diff)
no more PLUGININFOEX::replacesDefaultModule, that old & nasty clutch
since now all Myranda plugins are binary incompatible with Miranda's git-svn-id: http://svn.miranda-ng.org/main/trunk@743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ZeroNotification')
-rw-r--r--plugins/ZeroNotification/main.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/ZeroNotification/main.cpp b/plugins/ZeroNotification/main.cpp
index 63e6ddf92c..292017d15d 100644
--- a/plugins/ZeroNotification/main.cpp
+++ b/plugins/ZeroNotification/main.cpp
@@ -46,8 +46,7 @@ PLUGININFOEX pluginInfoEx = {
"",
COPYRIGHT,
"",
- UNICODE_AWARE, //not transient
- 0,
+ UNICODE_AWARE,
UID
};
@@ -125,7 +124,7 @@ static int SetNotify(const long status){
mi.flags |= CMIM_NAME;
CallService(MS_CLIST_MODIFYMENUITEM,(WPARAM)noSoundMenu,(LPARAM)&mi);
-
+
return 0;
}
@@ -148,14 +147,14 @@ static int ProtoAck(WPARAM wParam, LPARAM lParam)
SetNotify(status);
return 0;
- }
+ }
return 0;
}
static INT_PTR CALLBACK DlgProcNoSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- DWORD test;
+ DWORD test;
switch (msg)
{
case WM_INITDIALOG:
@@ -203,7 +202,7 @@ static INT_PTR CALLBACK DlgProcNoSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam
DBWriteContactSettingDword(NULL,PLUGINNAME_SHORT,"NoSound",MakeCheckBoxTreeFlags(GetDlgItem(hwndDlg,IDC_NOSOUND)));
DBWriteContactSettingDword(NULL,PLUGINNAME_SHORT,"NoBlink",MakeCheckBoxTreeFlags(GetDlgItem(hwndDlg,IDC_NOBLINK)));
DBWriteContactSettingDword(NULL,PLUGINNAME_SHORT,"NoCLCBlink",MakeCheckBoxTreeFlags(GetDlgItem(hwndDlg,IDC_NOCLCBLINK)));
-
+
test = DBGetContactSettingWord(NULL,"CList","Status",0);
SetNotify(Proto_Status2Flag(DBGetContactSettingWord(NULL,"CList","Status",0)));
return TRUE;