[gnome-2048] Show window after creating scores dialog



commit e6083a815190531a84da67184f667cad0e2addb3
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Tue Aug 18 17:46:21 2015 +0200

    Show window after creating scores dialog

 src/application.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/application.vala b/src/application.vala
index c533c12..98157df 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -90,6 +90,8 @@ public class Application : Gtk.Application
 
     _create_scores ();
 
+    _window.show_all ();
+
     _game_restored = _game.restore_game ();
     if (!_game_restored)
       new_game_cb ();
@@ -197,8 +199,6 @@ public class Application : Gtk.Application
     geom.min_height = WINDOW_MINIMUM_SIZE_HEIGHT;
     geom.min_width = WINDOW_MINIMUM_SIZE_WIDTH;
     _window.set_geometry_hints (_window, geom, Gdk.WindowHints.MIN_SIZE);
-
-    _window.show_all ();
   }
 
   private void _create_header_bar ()


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