summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/wumfplug.c
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-12 13:56:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-12 13:56:54 +0000
commite0b1fbf35cc17f73de8049cb72494c95669a9195 (patch)
tree994c4eae8122058f0f10bce4a4bffc98a24e8259 /plugins/WhoUsesMyFiles/wumfplug.c
parentb17df7fca9fc9eb65037e2586dea15155ace1273 (diff)
minor toptoolbar fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhoUsesMyFiles/wumfplug.c')
-rw-r--r--plugins/WhoUsesMyFiles/wumfplug.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/WhoUsesMyFiles/wumfplug.c b/plugins/WhoUsesMyFiles/wumfplug.c
index 8c54f36990..4307c8d86e 100644
--- a/plugins/WhoUsesMyFiles/wumfplug.c
+++ b/plugins/WhoUsesMyFiles/wumfplug.c
@@ -551,13 +551,11 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg,UINT msg,WPARAM wparam,LPARAM lpara
int InitTopToolbar(WPARAM wparam,LPARAM lparam)
{
TTBButton ttb = { 0 };
- char buttonname[] = "WUMF: Show connections list";
ttb.cbSize = sizeof(ttb);
ttb.hIconUp = LoadIcon(hInst, MAKEINTRESOURCE(IDB_DRIVE));
- ttb.hIconDn = ttb.hIconUp;
ttb.pszService = MS_WUMF_CONNECTIONSSHOW;
ttb.dwFlags = TTBBF_VISIBLE|TTBBF_SHOWTOOLTIP;
- ttb.name = buttonname;
+ ttb.name = ttb.pszTooltipUp = LPGEN("Show connections list");
hWumfBut = TopToolbar_AddButton(&ttb);
return 0;
}