[gnome-tetravex] Show back bottom bar.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex] Show back bottom bar.
- Date: Wed, 30 Oct 2019 02:04:34 +0000 (UTC)
commit 9df068720174b976c7d429ff39c6cbc3c026d1f1
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Oct 30 03:03:48 2019 +0100
Show back bottom bar.
Fix commit 9027d4da49.
src/gnome-tetravex.vala | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index d2e2150..e781907 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -330,6 +330,7 @@ private class Tetravex : Gtk.Application
play_pause_stack = new Stack ();
play_pause_stack.add_named (play_button, "play");
play_pause_stack.add_named (pause_button, "pause");
+ play_pause_stack.show ();
grid.attach (play_pause_stack, 0, 1, 1, 1);
new_game_button = new BottomButton ("view-refresh-symbolic",
@@ -358,17 +359,20 @@ private class Tetravex : Gtk.Application
new_game_solve_stack.add_named (solve_button, "solve");
new_game_solve_stack.add_named (new_game_button, "new-game");
new_game_solve_stack.add_named (finish_button, "finish");
+ new_game_solve_stack.show ();
grid.attach (new_game_solve_stack, 2, 1, 1, 1);
Box box = new Box (Orientation.HORIZONTAL, /* spacing */ 8);
Image image = new Image.from_icon_name ("preferences-system-time-symbolic", IconSize.MENU);
box.add (image);
clock_label = new Label ("");
+ clock_label.show ();
box.add (clock_label);
box.halign = Align.CENTER;
box.valign = Align.BASELINE;
box.set_margin_top (20);
box.set_margin_bottom (20);
+ box.show ();
grid.attach (box, 1, 1, 1, 1);
undo_action = (SimpleAction) lookup_action ("undo");
@@ -417,7 +421,8 @@ private class Tetravex : Gtk.Application
margin_start: 35,
margin_end: 35,
image: _image,
- focus_on_click: false);
+ focus_on_click: false,
+ visible: true);
sizegroup.add_widget (this);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]