summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-08-13 18:05:18 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-08-13 18:05:18 +0000
commit9f478bb53be99c6ad5cf69c1a61cc14900cf72b8 (patch)
tree4dc4cce5c3a437d1f502834f70f97cf2fdef74bb /plugins/NewsAggregator
parentf3700adeb2647b91f3613fe988be6e69e79c2e68 (diff)
icons registration moved to Load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@10180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator')
-rw-r--r--plugins/NewsAggregator/Src/NewsAggregator.cpp2
-rw-r--r--plugins/NewsAggregator/Src/Services.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/NewsAggregator/Src/NewsAggregator.cpp b/plugins/NewsAggregator/Src/NewsAggregator.cpp
index 2d045613cd..81e853d9a8 100644
--- a/plugins/NewsAggregator/Src/NewsAggregator.cpp
+++ b/plugins/NewsAggregator/Src/NewsAggregator.cpp
@@ -99,6 +99,8 @@ extern "C" __declspec(dllexport) int Load(void)
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL+HKCOMB_A, 'O') | HKF_MIRANDA_LOCAL;
Hotkey_Register(&hkd);
+ InitIcons();
+
return 0;
}
diff --git a/plugins/NewsAggregator/Src/Services.cpp b/plugins/NewsAggregator/Src/Services.cpp
index 54d7914ca9..0fe243e9f3 100644
--- a/plugins/NewsAggregator/Src/Services.cpp
+++ b/plugins/NewsAggregator/Src/Services.cpp
@@ -58,7 +58,6 @@ int NewsAggrInit(WPARAM wParam, LPARAM lParam)
}
NetlibInit();
- InitIcons();
InitMenu();
HookEvent(ME_TTB_MODULELOADED, OnToolbarLoaded);