summaryrefslogtreecommitdiff
path: root/plugins/Svc_crshdmp
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/Svc_crshdmp
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/Svc_crshdmp')
-rw-r--r--plugins/Svc_crshdmp/crshdmp.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/plugins/Svc_crshdmp/crshdmp.cpp b/plugins/Svc_crshdmp/crshdmp.cpp
index 3dd69dd022..067cb2f10e 100644
--- a/plugins/Svc_crshdmp/crshdmp.cpp
+++ b/plugins/Svc_crshdmp/crshdmp.cpp
@@ -207,41 +207,35 @@ int OptionsInit(WPARAM wParam, LPARAM)
return 0;
}
-
static int ToolbarModulesLoaded(WPARAM, LPARAM)
{
TTBButton tbb = {0};
tbb.cbSize = sizeof(TTBButton);
- tbb.name = LPGEN("Version Information To Clipboard");
tbb.pszService = MS_CRASHDUMPER_STORETOCLIP;
- tbb.pszTooltipUp = LPGEN("Version Information To Clipboard");
+ tbb.name = tbb.pszTooltipUp = LPGEN("Version Information To Clipboard");
tbb.hIconHandleUp = GetIconHandle("storeToClip");
tbb.dwFlags = TTBBF_VISIBLE;
TopToolbar_AddButton(&tbb);
- tbb.name = LPGEN("Version Information To File");
tbb.pszService = MS_CRASHDUMPER_STORETOFILE;
- tbb.pszTooltipUp = LPGEN("Version Information To File");
+ tbb.name = tbb.pszTooltipUp = LPGEN("Version Information To File");
tbb.hIconHandleUp = GetIconHandle("storeToFile");
tbb.dwFlags = 0;
TopToolbar_AddButton(&tbb);
- tbb.name = LPGEN("Show Version Information");
tbb.pszService = MS_CRASHDUMPER_VIEWINFO;
- tbb.pszTooltipUp = LPGEN("Show Version Information");
+ tbb.name = tbb.pszTooltipUp = LPGEN("Show Version Information");
tbb.hIconHandleUp = GetIconHandle("showInfo");
TopToolbar_AddButton(&tbb);
- tbb.name = LPGEN("Upload Version Information");
tbb.pszService = MS_CRASHDUMPER_UPLOAD;
- tbb.pszTooltipUp = LPGEN("Upload Version Information");
+ tbb.name = tbb.pszTooltipUp = LPGEN("Upload Version Information");
tbb.hIconHandleUp = GetIconHandle("uploadInfo");
TopToolbar_AddButton(&tbb);
return 0;
}
-
static int ModulesLoaded(WPARAM, LPARAM)
{
char temp[MAX_PATH];