diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-24 18:13:42 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-24 18:13:42 +0000 |
commit | ccc50332684d14dccef9c9afe9c05c73c37b688c (patch) | |
tree | f9d762e7a2117e6fc0e3ec732c3353dd04759a6e /popup/src/main.cpp | |
parent | a390c019367cbabec17cd0a5dc8c8b8a4a455e5e (diff) |
popup:
removed process CL events
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@27 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'popup/src/main.cpp')
-rw-r--r-- | popup/src/main.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/popup/src/main.cpp b/popup/src/main.cpp index 6b0d6bb..494a7e4 100644 --- a/popup/src/main.cpp +++ b/popup/src/main.cpp @@ -446,7 +446,7 @@ static int ModulesLoaded(WPARAM wParam,LPARAM lParam) //hook TopToolBar
hTTBLoaded = HookEvent(ME_TTB_MODULELOADED, TTBLoaded);
//Folder plugin support
- LPTSTR pszPath = mir_a2t(FOLDER_CUSTOMIZE_SKINS "\\popup");
+ LPTSTR pszPath = mir_a2t(MIRANDA_PATH "\\Skins\\PopUp");
folderId = FoldersRegisterCustomPathT(MODULNAME_LONG, "Skins", pszPath);
mir_free(pszPath);
//load skin
@@ -543,8 +543,6 @@ MIRAPI int Load(PLUGINLINK *link) char ver[1024];
pluginLink=link;
- SetCallServiceHook();
-
g_popup.isOsUnicode = (GetVersion() & 0x80000000) == 0;
CallService(MS_SYSTEM_GETVERSIONTEXT, (WPARAM) sizeof(ver), (LPARAM) ver);
@@ -698,16 +696,12 @@ MIRAPI int Load(PLUGINLINK *link) MIRAPI int Unload(void)
{
int i;
- RemoveCallServiceHook();
-
-// UnloadNotifyImp(); //deprecatet stuff
for (i = SIZEOF(popupServices); i--; )
DestroyServiceFunction(popupServices[i].handle);
SrmmMenu_Unload();
-// UnhookEvent(hNotifyOptionsInitialize); deprecatet
UnhookEvent(hOptionsInitialize);
UnhookEvent(hModulesLoaded);
UnhookEvent(hOkToExit);
|