summaryrefslogtreecommitdiff
path: root/plugins
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 /plugins
parentfbd4dc4f0548b350b963133b3688e1b54a6fe112 (diff)
fix for missing button text
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/msgs.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp
index 0d6588ec67..a9c7dba2f0 100644
--- a/plugins/Scriver/src/msgs.cpp
+++ b/plugins/Scriver/src/msgs.cpp
@@ -433,6 +433,7 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDOK;
bbd.dwDefPos = 5;
bbd.hIcon = IcoLib_GetIconHandle("scriver_SEND");
+ bbd.pwszText = LPGENW("&OK");
bbd.pwszTooltip = LPGENW("Send message");
Srmm_AddButton(&bbd);
@@ -440,6 +441,7 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_QUOTE;
bbd.dwDefPos = 10;
bbd.hIcon = IcoLib_GetIconHandle("scriver_QUOTE");
+ bbd.pwszText = LPGENW("&Quote");
bbd.pwszTooltip = LPGENW("Quote");
Srmm_AddButton(&bbd);
@@ -447,18 +449,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_ADD;
bbd.dwDefPos = 20;
bbd.hIcon = IcoLib_GetIconHandle("scriver_ADD");
+ bbd.pwszText = LPGENW("&Add");
bbd.pwszTooltip = LPGENW("Add contact permanently to list");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_USERMENU;
bbd.dwDefPos = 30;
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 = 40;
bbd.hIcon = IcoLib_GetIconHandle("scriver_USERDETAILS");
+ bbd.pwszText = LPGENW("User &details");
bbd.pwszTooltip = LPGENW("View user's details");
Srmm_AddButton(&bbd);
@@ -466,6 +471,7 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_HISTORY;
bbd.dwDefPos = 50;
bbd.hIcon = IcoLib_GetIconHandle("scriver_HISTORY");
+ bbd.pwszText = LPGENW("&History");
bbd.pwszTooltip = LPGENW("View user's history");
Srmm_AddButton(&bbd);
@@ -474,30 +480,35 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_CHAT_BOLD;
bbd.dwDefPos = 10;
bbd.hIcon = IcoLib_GetIconHandle("chat_bold");
+ bbd.pwszText = LPGENW("&Bold");
bbd.pwszTooltip = LPGENW("Make the text bold (CTRL+B)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_CHAT_ITALICS;
bbd.dwDefPos = 15;
bbd.hIcon = IcoLib_GetIconHandle("chat_italics");
+ bbd.pwszText = LPGENW("&Italic");
bbd.pwszTooltip = LPGENW("Make the text italicized (CTRL+I)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_CHAT_UNDERLINE;
bbd.dwDefPos = 20;
bbd.hIcon = IcoLib_GetIconHandle("chat_underline");
+ bbd.pwszText = LPGENW("&Underline");
bbd.pwszTooltip = LPGENW("Make the text underlined (CTRL+U)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_CHAT_COLOR;
bbd.dwDefPos = 25;
bbd.hIcon = IcoLib_GetIconHandle("chat_fgcol");
+ bbd.pwszText = LPGENW("&Color");
bbd.pwszTooltip = LPGENW("Select a foreground color for the text (CTRL+K)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_CHAT_BKGCOLOR;
bbd.dwDefPos = 30;
bbd.hIcon = IcoLib_GetIconHandle("chat_bkgcol");
+ bbd.pwszText = LPGENW("&Background color");
bbd.pwszTooltip = LPGENW("Select a background color for the text");
Srmm_AddButton(&bbd);
@@ -505,18 +516,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwButtonID = IDC_CHAT_CHANMGR;
bbd.dwDefPos = 30;
bbd.hIcon = IcoLib_GetIconHandle("chat_settings");
+ bbd.pwszText = LPGENW("&Room settings");
bbd.pwszTooltip = LPGENW("Control this room (CTRL+O)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_CHAT_SHOWNICKLIST;
bbd.dwDefPos = 20;
bbd.hIcon = IcoLib_GetIconHandle("chat_nicklist");
+ bbd.pwszText = LPGENW("&Show/hide nick list");
bbd.pwszTooltip = LPGENW("Show/hide the nick list (CTRL+N)");
Srmm_AddButton(&bbd);
bbd.dwButtonID = IDC_CHAT_FILTER;
bbd.dwDefPos = 10;
bbd.hIcon = IcoLib_GetIconHandle("chat_filter");
+ bbd.pwszText = LPGENW("&Filter");
bbd.pwszTooltip = LPGENW("Enable/disable the event filter (CTRL+F)");
Srmm_AddButton(&bbd);
return 0;