[gnome-games] gnomine: Fix sensitivity handling glitch #592777



commit 05c686aadd6f639cbcc0172702a28cb97755d1ca
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 24 12:08:24 2009 -0500

    gnomine: Fix sensitivity handling glitch #592777

 gnomine/gnomine.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnomine/gnomine.c b/gnomine/gnomine.c
index cb0798f..537d029 100644
--- a/gnomine/gnomine.c
+++ b/gnomine/gnomine.c
@@ -290,7 +290,9 @@ new_game (void)
   set_flabel (GTK_MINEFIELD (mfield));
 
   gtk_action_set_visible (pause_action, TRUE);
+  gtk_action_set_sensitive (pause_action, TRUE);
   gtk_action_set_visible (resume_action, FALSE);
+  gtk_action_set_sensitive (resume_action, FALSE);
   gtk_widget_hide (resume_container);
   gtk_widget_show (mfield_container);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]