[gnome-2048] Always allow opening the scores dialog



commit 2ab73307f31b5fefadd002309ca92039d692598d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 14:33:40 2015 -0500

    Always allow opening the scores dialog
    
    It looks good when there are no scores now, so no need to block this
    off.

 src/application.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/application.vala b/src/application.vala
index 1799d27..5a298c6 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -340,9 +340,6 @@ public class Application : Gtk.Application
 
     // FIXME: The second parameter should be _("Grid Size:") but we're in string freeze.
     _scores_ctx = new Scores.Context ("gnome-2048", "", _window, category_request, 
Scores.Style.PLAIN_DESCENDING);
-
-    if (!_scores_ctx.has_scores ())
-      ((SimpleAction) lookup_action ("scores")).set_enabled (false);
   }
 
   private void new_game_cb ()


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