summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-11 21:01:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-11 21:01:31 +0300
commitc2c418eafb367c365b8e347e8598b2d859cdea39 (patch)
treee8bb4b854d0ae1a07003f83d3650ee4bd2a3eabe /src
parentfbd4dc4f0548b350b963133b3688e1b54a6fe112 (diff)
fix for missing button text
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgs.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp
index 9cc1c954cd..bc41df08d5 100644
--- a/src/core/stdmsg/src/msgs.cpp
+++ b/src/core/stdmsg/src/msgs.cpp
@@ -293,18 +293,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_ADD;
bbd.dwDefPos = 10;
bbd.hIcon = Skin_GetIconHandle(SKINICON_OTHER_ADDCONTACT);
+ bbd.pwszText = LPGENW("&Add");
bbd.pwszTooltip = LPGENW("Add contact permanently to list");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_USERMENU;
bbd.dwDefPos = 20;
bbd.hIcon = Skin_GetIconHandle(SKINICON_OTHER_DOWNARROW);
+ bbd.pwszText = LPGENW("&User menu");
bbd.pwszTooltip = LPGENW("User menu");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_DETAILS;
bbd.dwDefPos = 30;
bbd.hIcon = Skin_GetIconHandle(SKINICON_OTHER_USERDETAILS);
+ bbd.pwszText = LPGENW("User &details");
bbd.pwszTooltip = LPGENW("View user's details");
Srmm_AddButton(&bbd);
@@ -312,6 +315,7 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_HISTORY;
bbd.dwDefPos = 40;
bbd.hIcon = Skin_GetIconHandle(SKINICON_OTHER_HISTORY);
+ bbd.pwszText = LPGENW("&History");
bbd.pwszTooltip = LPGENW("View user's history");
Srmm_AddButton(&bbd);
@@ -320,30 +324,35 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_BOLD;
bbd.dwDefPos = 10;
bbd.hIcon = GetIconHandle("bold");
+ bbd.pwszText = LPGENW("&Bold");
bbd.pwszTooltip = LPGENW("Make the text bold (CTRL+B)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_ITALICS;
bbd.dwDefPos = 15;
bbd.hIcon = GetIconHandle("italics");
+ bbd.pwszText = LPGENW("&Italic");
bbd.pwszTooltip = LPGENW("Make the text italicized (CTRL+I)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_UNDERLINE;
bbd.dwDefPos = 20;
bbd.hIcon = GetIconHandle("underline");
+ bbd.pwszText = LPGENW("&Underline");
bbd.pwszTooltip = LPGENW("Make the text underlined (CTRL+U)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_COLOR;
bbd.dwDefPos = 25;
bbd.hIcon = GetIconHandle("fgcol");
+ bbd.pwszText = LPGENW("&Color");
bbd.pwszTooltip = LPGENW("Select a foreground color for the text (CTRL+K)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_BKGCOLOR;
bbd.dwDefPos = 30;
bbd.hIcon = GetIconHandle("bkgcol");
+ bbd.pwszText = LPGENW("&Background color");
bbd.pwszTooltip = LPGENW("Select a background color for the text");
Srmm_AddButton(&bbd);
@@ -351,18 +360,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_CHANMGR;
bbd.dwDefPos = 30;
bbd.hIcon = GetIconHandle("settings");
+ bbd.pwszText = LPGENW("&Room settings");
bbd.pwszTooltip = LPGENW("Control this room (CTRL+O)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_SHOWNICKLIST;
bbd.dwDefPos = 20;
bbd.hIcon = GetIconHandle("nicklist");
+ bbd.pwszText = LPGENW("&Show/hide nick list");
bbd.pwszTooltip = LPGENW("Show/hide the nick list (CTRL+N)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_FILTER;
bbd.dwDefPos = 10;
bbd.hIcon = GetIconHandle("filter");
+ bbd.pwszText = LPGENW("&Filter");
bbd.pwszTooltip = LPGENW("Enable/disable the event filter (CTRL+F)");
Srmm_AddButton(&bbd);
return 0;