[four-in-a-row] Disable hint button after it is used
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row] Disable hint button after it is used
- Date: Fri, 31 Jan 2014 03:52:53 +0000 (UTC)
commit d679065461f47bdf610629833a202ff6951ff00e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Jan 30 21:07:50 2014 -0600
Disable hint button after it is used
You can only get one hint per turn, so no sense in letting the player
press the button multiple times.
src/main.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 25ad0fe..a37cf9a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -650,7 +650,6 @@ on_game_hint (GSimpleAction *action, GVariant *parameter, gpointer data)
set_status_message (s);
g_free (s);
- g_simple_action_set_enabled (G_SIMPLE_ACTION (hint_action), TRUE);
g_simple_action_set_enabled (G_SIMPLE_ACTION (undo_action), (moves > 0));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]