summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-22 17:53:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-22 17:53:20 +0000
commit59b6fb0fe20c274743fbd1b9742be94b1e5134a4 (patch)
tree1fe68cf72ab221fbca0f24b36b35f5c1087a9450 /plugins/IgnoreState
parent36818c9c84cce676b9ec6533807b7a33e03902a0 (diff)
- extra icons services converted into functions;
- more Kill* functions exported; git-svn-id: http://svn.miranda-ng.org/main/trunk@14635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IgnoreState')
-rw-r--r--plugins/IgnoreState/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp
index ad8083d2d4..353efadb94 100644
--- a/plugins/IgnoreState/src/main.cpp
+++ b/plugins/IgnoreState/src/main.cpp
@@ -97,13 +97,13 @@ void applyExtraImage(MCONTACT hContact)
{
int ignore = isIgnored(hContact, IGNOREEVENT_ALL);
if (ignore == 1)
- ExtraIcon_SetIcon(hExtraIcon, hContact, "ignore_full");
+ ExtraIcon_SetIconByName(hExtraIcon, hContact, "ignore_full");
else if (ignore == 0)
ExtraIcon_Clear(hExtraIcon, hContact);
else if (isIgnored(hContact, IGNOREEVENT_MESSAGE))
- ExtraIcon_SetIcon(hExtraIcon, hContact, "ignore_mess");
+ ExtraIcon_SetIconByName(hExtraIcon, hContact, "ignore_mess");
else
- ExtraIcon_SetIcon(hExtraIcon, hContact, "ignore_part");
+ ExtraIcon_SetIconByName(hExtraIcon, hContact, "ignore_part");
}
/////////////////////////////////////////////////////////////////////////////////////////
@@ -169,7 +169,7 @@ extern "C" int __declspec(dllexport) Load(void)
//IcoLib support
Icon_Register(g_hInst, LPGEN("Ignore State"), iconList, _countof(iconList));
- hExtraIcon = ExtraIcon_Register("ignore", LPGEN("Ignore State"), "ignore_full");
+ hExtraIcon = ExtraIcon_RegisterIcolib("ignore", LPGEN("Ignore State"), "ignore_full");
return 0;
}