[gnome-sudoku/vala-port] Hide the Help when moving to the start screen



commit 67aa4166f2a82c6e67f0135b28a6f4284cfbaa78
Author: Christopher Baines <cbaines src gnome org>
Date:   Thu Jun 27 19:23:21 2013 +0100

    Hide the Help when moving to the start screen
    
    Also remove this issue from the TODO list

 TODO                  |    2 --
 src/gnome-sudoku.vala |    1 +
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/TODO b/TODO
index 7fc6481..9c1d636 100644
--- a/TODO
+++ b/TODO
@@ -22,5 +22,3 @@ The ingame Help: (I like it!)
   Perhaps start with a general description of the method, instead of repeating the same sentance for each 
line.
 
 No way to save a game
-
-Clicking "new game" while the ingame help is shown leads to a game picker with the help shown as well. It 
should be hidden/removed.
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index efe93a7..512eb83 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -432,6 +432,7 @@ public class Sudoku : Gtk.Application
     private void show_start ()
     {
         game_box.visible = false;
+        help_box.visible = false;
         start_box.visible = true;
     }
 


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