summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-17 13:04:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-17 13:04:41 +0300
commite285d61d903c2616f5a7ea3026a1068ceb59b513 (patch)
tree9e0ba5e018bd232b6a1293aaca6cd6c86bc7a6f0 /plugins
parentc13df8fa3e1f60b059cecf3f3d6c825b7e86ac16 (diff)
Quick Search: added tooltip for a toolbar button
Diffstat (limited to 'plugins')
-rw-r--r--plugins/QuickSearch/sr_global.pas12
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas
index 1490c52eea..46313225d1 100644
--- a/plugins/QuickSearch/sr_global.pas
+++ b/plugins/QuickSearch/sr_global.pas
@@ -217,11 +217,13 @@ begin
if ServiceExists(MS_TTB_ADDBUTTON) then
begin
ZeroMemory(@ttbopt,sizeof(ttbopt));
- ttbopt.pszService:=QS_SHOWSERVICE;
- ttbopt.hIconUp :=IcoLib_GetIcon(QS_QS,0);
- ttbopt.hIconDn :=ttbopt.hIconUp;
- ttbopt.dwFlags :=TTBBF_VISIBLE;
- ttbopt.name :=qs_module;
+ ttbopt.pszService := QS_SHOWSERVICE;
+ ttbopt.hIconUp := IcoLib_GetIcon(QS_QS,0);
+ ttbopt.hIconDn := ttbopt.hIconUp;
+ ttbopt.dwFlags := TTBBF_VISIBLE;
+ ttbopt.name := qs_module;
+ ttbopt.pszTooltipUp := qs_name;
+ ttbopt.pszTooltipDn := qs_name;
hTTBButton:=TopToolbar_AddButton(@ttbopt);
if hTTBButton=THANDLE(-1) then
hTTBButton:=0;