diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-18 20:40:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-18 20:40:44 +0300 |
commit | 37a022d37e79dbe9892f376ef7c3b6b8878c4aff (patch) | |
tree | 2700034a1955c16cb5eff5ffb944cc2eb7d9c00f /plugins/Actman | |
parent | 5335298d8eb7571db123afb3bd1340cd949a8208 (diff) |
hLangpack variable began migration inside CMPluginBase
it remains existing for now, but as reference to g_plugin.m_hLang
Diffstat (limited to 'plugins/Actman')
-rw-r--r-- | plugins/Actman/actman.dpr | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr index b4dc351455..0bf4f38921 100644 --- a/plugins/Actman/actman.dpr +++ b/plugins/Actman/actman.dpr @@ -136,18 +136,13 @@ begin begin
if p^.Hash=0 then
p^.Hash:=Hash(p^.Name,StrLen(p^.Name));
- //!! must add icon registration in icolib
-{
- StrCopy(pc,p^.Name);
- ii.szDescr :=p^.Name;
- ii.DefIconID:=;
- Icon_Register(hInstance,'Actions',@ii,1);
-}
+
sid.hDefaultIcon :=LoadImageA(hInstance,p^.Icon,IMAGE_ICON,16,16,0);
sid.szDescription.a:=p^.Name;
StrCopy(pc,p^.Name);
Skin_AddIcon(@sid);
- DestroyIcon(sid.hDefaultIcon);
+
+ DestroyIcon(sid.hDefaultIcon);
p:=p^.Next;
end;
|