[gnome-chess/arnaudb/wip/gtk4: 17/27] Widgets are visible.




commit 3dd6cb3f840dc6dfeeb89f95a30c7b0865be7a9e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 7 14:52:40 2020 +0200

    Widgets are visible.

 src/gnome-chess.vala | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 0547e30..3bea8a1 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -135,13 +135,11 @@ Copyright © 2015–2016 Sahil Sareen""";
     {
         var label = new Label (_("No chess engine is installed. You will not be able to play against the 
computer."));  // TODO init with label
         label.set_wrap (true);
-        label.show ();
 
         info_bar.add_child (label);
         info_bar.set_message_type (MessageType.ERROR);
         info_bar.set_show_close_button (true);
         info_bar.response.connect (() => info_bar.destroy ());
-        info_bar.show ();
     }
 
     public override void startup ()
@@ -207,7 +205,6 @@ Copyright © 2015–2016 Sahil Sareen""";
         view.hexpand = true;
         view.vexpand = true;
         view_container.insert_child_after (view, /* insert first */ null);
-        view.show ();
 
         var system_engine_cfg = Path.build_filename (SYSCONFDIR, "gnome-chess", "engines.conf", null);
         var user_engine_cfg = Path.build_filename (Environment.get_user_config_dir (), "gnome-chess", 
"engines.conf", null);
@@ -2253,7 +2250,6 @@ Copyright © 2015–2016 Sahil Sareen""";
         about_dialog.website = "https://wiki.gnome.org/Apps/Chess";;
         about_dialog.logo_icon_name = "org.gnome.Chess";
         about_dialog.response.connect (about_response_cb);
-        about_dialog.show ();
     }
 
     private void run_invalid_pgn_dialog ()


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