[gnome-chess/arnaudb/wip/gtk4: 18/21] Widgets are visible.



commit 2ed6cdf7a88c6814e8f15a2bec50686ec8b1304e
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 72f0ce2..2bb6486 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."));
         label.set_wrap (true);
-        label.show ();
 
         info_bar.add (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 ()
@@ -208,7 +206,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);
@@ -2254,7 +2251,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]