summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-09-11 23:49:15 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-09-11 23:49:15 +0300
commite09448dd03e3647717166e92ee818e395041993a (patch)
tree2733f155bb5fd9313ea08255209da75f738bcedf /plugins/ClientChangeNotify
parentb0f44b16bd1138de85a5d17bb42151742f9c8298 (diff)
parent9834746e6a7e5cf04a32273155265bc3a2f57180 (diff)
Merge branch 'master' of https://github.com/miranda-ng/miranda-ng
Diffstat (limited to 'plugins/ClientChangeNotify')
-rw-r--r--plugins/ClientChangeNotify/src/ClientChangeNotify.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp
index 30f6df1406..cca57b1975 100644
--- a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp
+++ b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp
@@ -250,7 +250,7 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam)
}
if (PerContactSetting == NOTIFY_ALWAYS || (PopupOptPage.GetValue(IDC_POPUPOPTDLG_POPUPNOTIFY) && (g_PreviewOptPage || PerContactSetting == NOTIFY_ALMOST_ALWAYS || -1 == PcreCheck(sd.MirVer)))) {
ShowPopup(&sd);
- SkinPlaySound(CLIENTCHANGED_SOUND);
+ Skin_PlaySound(CLIENTCHANGED_SOUND);
}
}
@@ -322,7 +322,8 @@ int MirandaLoaded(WPARAM, LPARAM)
HookEvent(ME_SYSTEM_MODULELOAD, ModuleLoad);
HookEvent(ME_SYSTEM_MODULEUNLOAD, ModuleLoad);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, ContactSettingChanged);
- SkinAddNewSoundEx(CLIENTCHANGED_SOUND, NULL, LPGEN("ClientChangeNotify: Client changed"));
+
+ Skin_AddSound(CLIENTCHANGED_SOUND, nullptr, LPGENW("ClientChangeNotify: Client changed"));
if (bPopupExists) {
CreateServiceFunction(MS_CCN_TOGGLEPOPUPS, srvTogglePopups);