[gnome-games] gnomine: Fix keyboard mnemonics don't work #592776
- From: Jason Clinton <jclinton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games] gnomine: Fix keyboard mnemonics don't work #592776
- Date: Mon, 24 Aug 2009 17:07:15 +0000 (UTC)
commit 370caa5f5bd25f005e810405b5b122c2fb1e0328
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 24 12:06:00 2009 -0500
gnomine: Fix keyboard mnemonics don't work #592776
gnomine/gnomine.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gnomine/gnomine.c b/gnomine/gnomine.c
index 639028d..cb0798f 100644
--- a/gnomine/gnomine.c
+++ b/gnomine/gnomine.c
@@ -647,7 +647,7 @@ window_state_callback (GtkWidget * widget, GdkEventWindowState * event)
}
-static void
+static gboolean
pause_key_callback(GtkWidget *widget, GdkEventKey *event,
gpointer data )
{
@@ -658,8 +658,11 @@ gpointer data )
resume_game_cb(NULL, NULL); // Resume the game
else
pause_callback(NULL, NULL, NULL); // Pause the game
+
+ return TRUE;
}
-
+
+ return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]