tGTK+ doesn't seem to like \t in menu labels any more, so now we use a single s… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a449a445fedb565c9b1096a5622b3e4fb33351c3 | |
parent 8c78b4df3d34b7eeec05fef03c6a99c20704fdd2 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 25 Feb 2002 19:07:16 +0000 | |
GTK+ doesn't seem to like \t in menu labels any more, so now we use a single | |
space character instead (for the Spy... and Tipoff... menus) | |
Diffstat: | |
M src/gtk_client.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/gtk_client.c b/src/gtk_client.c | |
t@@ -498,13 +498,13 @@ void HandleClientMessage(char *pt, Player *Play) | |
"<main>/Errands/Spy..."); | |
/* Text to update the Errands/Spy menu item with the price for spying */ | |
- text = dpg_strdup_printf(_("_Spy\t(%P)"), Prices.Spy); | |
+ text = dpg_strdup_printf(_("_Spy (%P)"), Prices.Spy); | |
SetAccelerator(MenuItem, text, NULL, NULL, NULL); | |
g_free(text); | |
/* Text to update the Errands/Tipoff menu item with the price for a | |
* tipoff */ | |
- text = dpg_strdup_printf(_("_Tipoff\t(%P)"), Prices.Tipoff); | |
+ text = dpg_strdup_printf(_("_Tipoff (%P)"), Prices.Tipoff); | |
MenuItem = gtk_item_factory_get_widget(ClientData.Menu, | |
"<main>/Errands/Tipoff..."); | |
SetAccelerator(MenuItem, text, NULL, NULL, NULL); |