tGTK+ 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) - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a449a445fedb565c9b1096a5622b3e4fb33351c3
(DIR) parent 8c78b4df3d34b7eeec05fef03c6a99c20704fdd2
(HTM) Author: Ben Webb <ben@salilab.org>
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(-)
---
(DIR) 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);