From 6e9ace645b7d24ed0fe60f4b7714d3bb11739dfc Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 27 Mar 2016 10:24:54 +0000 Subject: GTalkExt: icon added to icolib git-svn-id: http://svn.miranda-ng.org/main/trunk@16553 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/GTalkExt/src/GTalkExt.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'protocols/GTalkExt/src/GTalkExt.cpp') 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 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); -- cgit v1.2.3