summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Discord/src/main.cpp2
-rw-r--r--protocols/Gadu-Gadu/src/icolib.cpp2
-rw-r--r--protocols/ICQ-WIM/src/main.cpp2
-rw-r--r--protocols/IRCG/src/options.cpp2
-rw-r--r--protocols/Omegle/src/theme.cpp2
-rw-r--r--protocols/Sametime/src/sametime.cpp2
-rw-r--r--protocols/Telegram/src/main.cpp2
-rw-r--r--protocols/Twitter/src/theme.cpp2
-rw-r--r--protocols/VKontakte/src/misc.cpp2
9 files changed, 9 insertions, 9 deletions
diff --git a/protocols/Discord/src/main.cpp b/protocols/Discord/src/main.cpp
index 0af99505b7..98f0b120de 100644
--- a/protocols/Discord/src/main.cpp
+++ b/protocols/Discord/src/main.cpp
@@ -66,6 +66,6 @@ int CMPlugin::Load()
{
HookEvent(ME_SYSTEM_MODULESLOADED, &OnModulesLoaded);
- g_plugin.registerIcon(LPGEN("Protocols") "/" LPGEN("Discord"), g_iconList);
+ g_plugin.registerIcon("Protocols/Discord", g_iconList);
return 0;
}
diff --git a/protocols/Gadu-Gadu/src/icolib.cpp b/protocols/Gadu-Gadu/src/icolib.cpp
index 1a119c0f4d..7e3d9e424f 100644
--- a/protocols/Gadu-Gadu/src/icolib.cpp
+++ b/protocols/Gadu-Gadu/src/icolib.cpp
@@ -43,5 +43,5 @@ extern IconItem iconList[] =
void gg_icolib_init()
{
- g_plugin.registerIcon(LPGEN("Protocols") "/" LPGEN("GG"), iconList, GGDEF_PROTO);
+ g_plugin.registerIcon("Protocols/GG", iconList, GGDEF_PROTO);
}
diff --git a/protocols/ICQ-WIM/src/main.cpp b/protocols/ICQ-WIM/src/main.cpp
index f74dac11c7..b445bc7b29 100644
--- a/protocols/ICQ-WIM/src/main.cpp
+++ b/protocols/ICQ-WIM/src/main.cpp
@@ -93,7 +93,7 @@ int CMPlugin::Load()
// register the second instance of this plugin as MRA
g_pluginMra.Register();
- registerIcon(LPGEN("Protocols") "/" LPGEN("ICQ"), iconList, "ICQ");
+ registerIcon("Protocols/ICQ", iconList, "ICQ");
HookEvent(ME_SYSTEM_MODULELOAD, ModuleLoad);
HookEvent(ME_SYSTEM_MODULEUNLOAD, ModuleLoad);
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp
index 8822b2e532..4f3439540d 100644
--- a/protocols/IRCG/src/options.cpp
+++ b/protocols/IRCG/src/options.cpp
@@ -144,7 +144,7 @@ static IconItem iconList[] =
void InitIcons(void)
{
- g_plugin.registerIcon(LPGEN("Protocols") "/" LPGEN("IRC"), iconList, "IRC");
+ g_plugin.registerIcon("Protocols/IRC", iconList, "IRC");
}
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/protocols/Omegle/src/theme.cpp b/protocols/Omegle/src/theme.cpp
index 4c047d5d12..f9899adbe9 100644
--- a/protocols/Omegle/src/theme.cpp
+++ b/protocols/Omegle/src/theme.cpp
@@ -31,5 +31,5 @@ static IconItem iconList[] =
void InitIcons(void)
{
- g_plugin.registerIcon(LPGEN("Protocols") "/" LPGEN("Omegle"), iconList, "Omegle");
+ g_plugin.registerIcon("Protocols/Omegle", iconList, "Omegle");
}
diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp
index 56c3f54c98..238f559d6b 100644
--- a/protocols/Sametime/src/sametime.cpp
+++ b/protocols/Sametime/src/sametime.cpp
@@ -82,7 +82,7 @@ static IconItem iconList[] =
void SametimeInitIcons(void)
{
- g_plugin.registerIcon(LPGEN("Protocols") "/" LPGEN("Sametime"), iconList, "SAMETIME");
+ g_plugin.registerIcon("Protocols/Sametime", iconList, "SAMETIME");
}
// Copied from MSN plugin - sent acks need to be from different thread
diff --git a/protocols/Telegram/src/main.cpp b/protocols/Telegram/src/main.cpp
index 590a1ecd1b..ee1aa1ecee 100644
--- a/protocols/Telegram/src/main.cpp
+++ b/protocols/Telegram/src/main.cpp
@@ -47,7 +47,7 @@ static IconItem iconList[] =
int CMPlugin::Load()
{
- registerIcon(LPGEN("Protocols") "/" LPGEN("Telegram"), iconList, "tg");
+ registerIcon("Protocols/Telegram", iconList, "tg");
m_hIcon = ExtraIcon_RegisterIcolib("tg_premium", LPGEN("Telegram Premium user"), getIconHandle(IDI_PREMIUM));
return 0;
diff --git a/protocols/Twitter/src/theme.cpp b/protocols/Twitter/src/theme.cpp
index 566bcdb576..b7b8c01e97 100644
--- a/protocols/Twitter/src/theme.cpp
+++ b/protocols/Twitter/src/theme.cpp
@@ -37,7 +37,7 @@ void TwitterInitSounds(void)
// TODO: uninit
void InitIcons(void)
{
- g_plugin.registerIcon(LPGEN("Protocols") "/" LPGEN("Twitter"), iconList, "Twitter");
+ g_plugin.registerIcon("Protocols/Twitter", iconList, "Twitter");
iconList[_countof(iconList) - 1].hIcolib = Skin_GetIconHandle(SKINICON_EVENT_URL);
}
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 46aa6312ff..f6b6aff3ce 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -66,7 +66,7 @@ static IconItem iconList[] =
void InitIcons()
{
- g_plugin.registerIcon(LPGEN("Protocols") "/" LPGEN("VKontakte"), iconList, "VKontakte");
+ g_plugin.registerIcon("Protocols/VKontakte", iconList, "VKontakte");
}
/////////////////////////////////////////////////////////////////////////////////////////