tCorrected bug which prevented you from using the letter "n" in the new game dialog... - 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 09ebc2bf56dce5010d88ee14e481373fca630c38
(DIR) parent 661ccdece4da3b4e54c7e6df0945e147a535dce7
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 25 Mar 2002 16:58:19 +0000
Corrected bug which prevented you from using the letter "n" in the new
game dialog...
Diffstat:
M src/gui_client/newgamedia.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/gui_client/newgamedia.c b/src/gui_client/newgamedia.c
t@@ -469,8 +469,8 @@ void NewGameDialog(Player *play)
gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
entry = stgam.name = gtk_entry_new();
- gtk_widget_add_accelerator(entry, "grab-focus", accel_group, AccelKey, 0,
- GTK_ACCEL_VISIBLE);
+ gtk_widget_add_accelerator(entry, "grab-focus", accel_group, AccelKey,
+ GDK_MOD1_MASK, GTK_ACCEL_VISIBLE);
gtk_entry_set_text(GTK_ENTRY(entry), GetPlayerName(stgam.play));
gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 0);