[gnome-mines] Do not show timer underneath the new game button



commit 4247b17183484bb1f13586218dba56836c252b04
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Feb 8 20:24:46 2014 -0600

    Do not show timer underneath the new game button

 src/gnome-mines.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 0d139a3..8c77fc5 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -548,6 +548,7 @@ public class Mines : Gtk.Application
         minefield_view.minefield = minefield;
 
         update_flag_label ();
+        clock_label.hide ();
 
         new_game_action.set_enabled (true);
         repeat_size_action.set_enabled (true);
@@ -618,6 +619,7 @@ public class Mines : Gtk.Application
         play_pause_image.icon_name = "view-refresh-symbolic";
         hint_action.set_enabled (false);
         pause_action.set_enabled (false);
+        clock_label.hide ();
     }
 
     private void cleared_cb (Minefield minefield)
@@ -636,6 +638,7 @@ public class Mines : Gtk.Application
             play_pause_image.icon_name = "view-refresh-symbolic";
             hint_action.set_enabled (false);
             pause_action.set_enabled (false);
+            clock_label.hide ();
         }
     }
 
@@ -643,6 +646,7 @@ public class Mines : Gtk.Application
     {
         play_pause_image.icon_name = "media-playback-pause-symbolic";
         play_pause_button.action_name = "app.pause";
+        clock_label.show ();
     }
 
     private void tick_cb ()


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