summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/GTalkExt.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-03-27 10:24:54 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-03-27 10:24:54 +0000
commit6e9ace645b7d24ed0fe60f4b7714d3bb11739dfc (patch)
tree10c6c2c8666a7421744910f9ab58630dc88dd47c /protocols/GTalkExt/src/GTalkExt.cpp
parent61efc6be20aa4315e9e524dffeb9b5c812ab19cc (diff)
GTalkExt: icon added to icolib
git-svn-id: http://svn.miranda-ng.org/main/trunk@16553 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/GTalkExt.cpp')
-rw-r--r--protocols/GTalkExt/src/GTalkExt.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/protocols/GTalkExt/src/GTalkExt.cpp b/protocols/GTalkExt/src/GTalkExt.cpp
index 506e59af32..391ebfa405 100644
--- a/protocols/GTalkExt/src/GTalkExt.cpp
+++ b/protocols/GTalkExt/src/GTalkExt.cpp
@@ -30,10 +30,14 @@
CLIST_INTERFACE *pcli;
int hLangpack;
-HICON g_hPopupIcon = 0;
LIST<GoogleTalkAcc> g_accs(1, HandleKeySortT);
+IconItem iconList[] =
+{
+ { LPGEN("Popup icon"), "gtalk_popup_icon", IDI_POPUP }
+};
+
PLUGININFOEX pluginInfo =
{
sizeof(PLUGININFOEX),
@@ -87,7 +91,7 @@ extern "C" int __declspec(dllexport) Load(void)
cls.lpszClassName = TEMP_WINDOW_CLASS_NAME;
RegisterClass(&cls);
- g_hPopupIcon = LoadIcon(g_hInst, MAKEINTRESOURCE(IDI_POPUP));
+ Icon_Register(g_hInst, LPGEN("Protocols") "/GTalkExt", iconList, _countof(iconList));
InitAvaUnit(TRUE);