summaryrefslogtreecommitdiff
path: root/plugins/Nudge/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 00:17:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 00:17:30 +0300
commit7deea6cec5d2173f66d4c2dd75ca0b633b887bc7 (patch)
tree8e95a2e5a707ef578c2f070b997156fcda6f088c /plugins/Nudge/src/main.cpp
parent15051a110d2575c2baa9a3b358977000c876abd9 (diff)
sounds packed into CMPlugin (reduces usage of hLangpack)
Diffstat (limited to 'plugins/Nudge/src/main.cpp')
-rw-r--r--plugins/Nudge/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp
index aae1e09f51..d32aaedcd0 100644
--- a/plugins/Nudge/src/main.cpp
+++ b/plugins/Nudge/src/main.cpp
@@ -357,7 +357,7 @@ void Nudge_AddAccount(PROTOACCOUNT *proto)
wchar_t soundDesc[MAXMODULELABELLENGTH + 10];
mir_snwprintf(soundDesc, LPGENW("Nudge for %s"), proto->tszAccountName);
- Skin_AddSound(p->NudgeSoundname, LPGENW("Nudge"), soundDesc);
+ g_plugin.addSound(p->NudgeSoundname, LPGENW("Nudge"), soundDesc);
arNudges.insert(p);
}
@@ -373,9 +373,9 @@ static void LoadProtocols(void)
// Load the default nudge
mir_snprintf(DefaultNudge.ProtocolName, "Default");
mir_snprintf(DefaultNudge.NudgeSoundname, "Nudge : Default");
- Skin_AddSound(DefaultNudge.NudgeSoundname, LPGENW("Nudge"), LPGENW("Default Nudge"));
+ g_plugin.addSound(DefaultNudge.NudgeSoundname, LPGENW("Nudge"), LPGENW("Default Nudge"));
+
DefaultNudge.Load();
-
GlobalNudge.Load();
for (auto &pa : Accounts())