summaryrefslogtreecommitdiff
path: root/Plugins/extraicons/CallbackExtraIcon.cpp
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-04-17 01:59:38 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-04-17 01:59:38 +0000
commitd27127d44576580e3a0000590b6179f06cc67b8e (patch)
treef5643bfb5d73ec3e4089c9cc6dcf44e5740e8ac9 /Plugins/extraicons/CallbackExtraIcon.cpp
parentfc229f1f9ff3600a9708da57f5629e14673011b7 (diff)
extraicons: new options dialog
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@167 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/extraicons/CallbackExtraIcon.cpp')
-rw-r--r--Plugins/extraicons/CallbackExtraIcon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/extraicons/CallbackExtraIcon.cpp b/Plugins/extraicons/CallbackExtraIcon.cpp
index 8ea2631..4ea8574 100644
--- a/Plugins/extraicons/CallbackExtraIcon.cpp
+++ b/Plugins/extraicons/CallbackExtraIcon.cpp
@@ -19,9 +19,9 @@
#include "commons.h"
-CallbackExtraIcon::CallbackExtraIcon(const char *name, const char *description, const char *descIcon,
+CallbackExtraIcon::CallbackExtraIcon(int id, const char *name, const char *description, const char *descIcon,
MIRANDAHOOK RebuildIcons, MIRANDAHOOK ApplyIcon, MIRANDAHOOKPARAM OnClick, LPARAM param) :
- ExtraIcon(name, description, descIcon, OnClick, param), RebuildIcons(RebuildIcons), ApplyIcon(ApplyIcon),
+ ExtraIcon(id, name, description, descIcon, OnClick, param), RebuildIcons(RebuildIcons), ApplyIcon(ApplyIcon),
needToRebuild(true)
{
}
@@ -57,7 +57,7 @@ void CallbackExtraIcon::applyIcon(HANDLE hContact)
if (!isEnabled() || hContact == NULL)
return;
- ApplyIcon((WPARAM) hContact, (LPARAM) ConvertToClistSlot(slot));
+ ApplyIcon((WPARAM) hContact, 0);
}
int CallbackExtraIcon::setIcon(HANDLE hContact, void *icon)