diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-13 18:05:18 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-13 18:05:18 +0000 |
commit | 9f478bb53be99c6ad5cf69c1a61cc14900cf72b8 (patch) | |
tree | 4dc4cce5c3a437d1f502834f70f97cf2fdef74bb /plugins/OpenFolder/src/openFolder.cpp | |
parent | f3700adeb2647b91f3613fe988be6e69e79c2e68 (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/OpenFolder/src/openFolder.cpp')
-rw-r--r-- | plugins/OpenFolder/src/openFolder.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/OpenFolder/src/openFolder.cpp b/plugins/OpenFolder/src/openFolder.cpp index 17e242acac..631102fd26 100644 --- a/plugins/OpenFolder/src/openFolder.cpp +++ b/plugins/OpenFolder/src/openFolder.cpp @@ -59,9 +59,6 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
HookEvent(ME_TTB_MODULELOADED, ToptoolBarHook);
- // icolib (0.7+)
- Icon_Register(hInst, LPGEN("Open Folder"), &icon, 1, OPENFOLDER_MODULE_NAME);
-
// hotkeys service (0.8+)
HOTKEYDESC hotkey = { 0 };
hotkey.cbSize = sizeof(hotkey);
@@ -104,6 +101,10 @@ extern "C" int __declspec( dllexport ) Load() hServiceOpenFolder = CreateServiceFunction(MS_OPENFOLDER_OPEN, MenuCommand_OpenFolder);
HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
+
+ // icolib (0.7+)
+ Icon_Register(hInst, LPGEN("Open Folder"), &icon, 1, OPENFOLDER_MODULE_NAME);
+
return 0;
}
|