[gnome-nibbles] Disable pause button after submiting high score



commit f84598e84bc9e2ed3be7b2f06163a7478198ec9f
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Sat Feb 13 17:05:03 2016 +0200

    Disable pause button after submiting high score
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761316

 src/gnome-nibbles.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 5d7ccc1..6eb63aa 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -687,6 +687,9 @@ public class Nibbles : Gtk.Application
                                         get_scores_category (game.speed, game.fakes),
                                         null,
                                         (object, result) => {
+
+            pause_action.set_enabled (false);
+
             try
             {
                 if (scores_context.add_score.end (result))


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