[gnome-games/gnome-2-28] aisleriot: Consume button press events
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-2-28] aisleriot: Consume button press events
- Date: Sat, 28 Nov 2009 13:50:48 +0000 (UTC)
commit e606bf26c801e7b58a50110c359e38d054f16672
Author: Christian Persch <chpe gnome org>
Date: Thu Nov 26 16:54:10 2009 +0100
aisleriot: Consume button press events
If we handled the event in any way, consume the event.
(cherry picked from commit a82b83913010c5854df7cf1d2cc3e6d0b857a9dc)
aisleriot/board-noclutter.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/aisleriot/board-noclutter.c b/aisleriot/board-noclutter.c
index 8641d23..a79307d 100644
--- a/aisleriot/board-noclutter.c
+++ b/aisleriot/board-noclutter.c
@@ -2738,7 +2738,7 @@ aisleriot_board_button_press (GtkWidget *widget,
/* If we already have a click, ignore this new one */
if (priv->click_status != STATUS_NONE) {
- return FALSE;
+ return TRUE;
}
/* If the game hasn't started yet, start it now */
@@ -2884,7 +2884,7 @@ set_selection:
reveal_card (board, hslot, cardid);
}
- return FALSE;
+ return TRUE;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]