diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-01 19:38:46 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-01 19:38:46 +0300 |
commit | 38853f0f252956930d6bd5bcd864fb76670d548b (patch) | |
tree | e89aee35e969228d5bd60ae099d20fa317ab6c5b /plugins/QuickSearch | |
parent | 1ad3f46ba54b0b2e57e4ab3ec66acf6da73cdde4 (diff) |
four forgotten meta services removed
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r-- | plugins/QuickSearch/sr_window.pas | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index 2aa6e6238c..a664f092f3 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -428,9 +428,9 @@ begin if ListView_GetItemState(grid,i,LVIS_SELECTED)<>0 then
begin
if hMeta=0 then
- hMeta:=CallService(MS_MC_CONVERTTOMETA,FlagBuf[LV_GetLParam(grid,i)].contact,0)
+ db_mc_convertToMeta(FlagBuf[LV_GetLParam(grid,i)].contact)
else
- CallService(MS_MC_ADDTOMETA,FlagBuf[LV_GetLParam(grid,i)].contact,hMeta);
+ db_mc_addToMeta(FlagBuf[LV_GetLParam(grid,i)].contact,hMeta);
end;
end;
end;
@@ -899,8 +899,7 @@ begin AppendMenuW(mmenu,MF_SEPARATOR,0,nil);
AppendMenuW(mmenu,MF_STRING,101,TranslateW('&Delete'));
AppendMenuW(mmenu,MF_STRING,102,TranslateW('&Copy'));
- if ServiceExists(MS_MC_CONVERTTOMETA) then
- AppendMenuW(mmenu,MF_STRING,103,TranslateW('C&onvert to Meta'));
+ AppendMenuW(mmenu,MF_STRING,103,TranslateW('C&onvert to Meta'));
cntmenu:=MakeContainerMenu(300);
AppendMenuW(mmenu,MF_POPUP,cntmenu,TranslateW('Attach to &Tab container'));
|