summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-28 15:20:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-28 15:20:06 +0000
commitdcc561ccf83c7468bf512ab94db0c34bfdb49dfc (patch)
treeb71f88f9be3198372f8e8cf11fa6c4093367a8dc /plugins/Watrack
parent7cd632b27e8bbae2005518606666547144c100dc (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/i_gui.inc4
-rw-r--r--plugins/Watrack/popup/popups.pas1
2 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Watrack/i_gui.inc b/plugins/Watrack/i_gui.inc
index fa10a41062..2f2f249c14 100644
--- a/plugins/Watrack/i_gui.inc
+++ b/plugins/Watrack/i_gui.inc
@@ -5,7 +5,6 @@ var
ttb:m_api.TTBButton;
begin
FillChar(ttb,SizeOf(ttb),0);
- ttb.cbSize :=SizeOf(ttb);
ttb.dwFlags:=TTBBF_VISIBLE or TTBBF_SHOWTOOLTIP;
// plugin status button
@@ -15,11 +14,8 @@ begin
ttb.hIconDn :=IcoLib_GetIcon(IcoBtnEnable,0);
ttb.hIconUp :=IcoLib_GetIcon(IcoBtnDisable,0);
ttb.wParamUp :=1;
-// ttb.wParamDown :=0;
ttb.pszService:=MS_WAT_PLUGINSTATUS;
ttb.name :='WATrack status';
-// ttb.tooltipDn:='Disable Plugin';
-// ttb.tooltipUp:='Enable Plugin';
ttbState:=TopToolbar_AddButton(@ttb);
if ttbState=THANDLE(-1) then
ttbState:=0
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas
index a75264cf7c..fb6f9d1b53 100644
--- a/plugins/Watrack/popup/popups.pas
+++ b/plugins/Watrack/popup/popups.pas
@@ -374,7 +374,6 @@ begin
UnhookEvent(onttbhook);
// get info button
FillChar(ttb,SizeOf(ttb),0);
- ttb.cbSize :=SizeOf(ttb);
ttb.dwFlags :=TTBBF_VISIBLE{ or TTBBF_SHOWTOOLTIP};
ttb.hIconUp :=IcoLib_GetIcon(IcoBtnInfo,0);
ttb.hIconDn :=ttb.hIconUp;