GNOME Bugzilla – Bug 592777
sensitivity handling glitch
Last modified: 2009-08-24 17:08:58 UTC
Created attachment 141473 [details] [review] patch doing the following: 1) start a game 2) pause 3) start a new game by clicking on the face causes the pause menuitem to become visible, but remain insensitive.
Comment on attachment 141473 [details] [review] patch Looks fine, thanks!
commit 05c686aadd6f639cbcc0172702a28cb97755d1ca Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 24 12:08:24 2009 -0500 gnomine: Fix sensitivity handling glitch #592777 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); }