[gnome-taquin: 3/5] trying to fix #5 despite gitlab refusing my git push (part 3/3)



commit 94fef786885f7768feb6af2a0cb1f1722c944df8
Author: Maestroschan <rrroschan gmail com>
Date:   Sun Jul 8 22:03:16 2018 +0000

    trying to fix #5 despite gitlab refusing my git push (part 3/3)

 src/game-window.vala | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index 8516dc4..50762d3 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -57,8 +57,6 @@ public class GameWindow : ApplicationWindow
     private Box game_box;
     [GtkChild]
     private Box new_game_box;
-    [GtkChild]
-    private Box side_box;
 
     private Widget view;
 
@@ -218,11 +216,6 @@ public class GameWindow : ApplicationWindow
     * * Some public calls
     \*/
 
-    public void add_to_sidebox (Widget widget)
-    {
-        side_box.pack_start (widget, false, false, 0);
-    }
-
     public void cannot_undo_more ()
     {
         undo_action.set_enabled (false);
@@ -266,6 +259,7 @@ public class GameWindow : ApplicationWindow
     {
         stack.set_visible_child_name ("frame");
         back_button.hide ();        // TODO transition?
+        new_game_button.show ();        // TODO transition?
         controls_box.show ();
 
         if (game_finished)
@@ -289,6 +283,7 @@ public class GameWindow : ApplicationWindow
         stack.set_transition_duration (800);
 
         back_button.show ();
+        new_game_button.hide ();        // TODO transition?
         back_action.set_enabled (true);
 
         show_new_game_screen ();
@@ -357,4 +352,4 @@ public class GameWindow : ApplicationWindow
             return;
         hint ();
     }
-}
+}
\ No newline at end of file


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