[gnome-chess/arnaudb/wip/gtk4: 41/51] Widgets are visible.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 41/51] Widgets are visible.
- Date: Tue, 15 Sep 2020 16:25:28 +0000 (UTC)
commit 28d59abb56ce1fbdb4b7f5bdd860e8aa10072082
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]