[gnome-chess/arnaudb/wip/gtk4: 48/54] Widgets are visible.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 48/54] Widgets are visible.
- Date: Thu, 13 Aug 2020 15:34:52 +0000 (UTC)
commit 7969926fe79185e9a5a0b1df7b3a1f13db53dcba
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 8700865..5095ed8 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);
@@ -2255,7 +2252,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]