[gnome-tetravex/arnaudb/wip/gtk4: 42/42] Fix restore_button bug.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex/arnaudb/wip/gtk4: 42/42] Fix restore_button bug.
- Date: Mon, 28 Sep 2020 13:21:15 +0000 (UTC)
commit 7394de8d3970ae710174fd6f7b994f9b37bd09fb
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Sep 28 15:18:52 2020 +0200
Fix restore_button bug.
See gtk#3165.
src/gnome-tetravex.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index 54951a6..2f94e2e 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -367,7 +367,7 @@ private class Tetravex : Gtk.Application
restore_button.valign = Align.CENTER;
restore_button.show ();
- restore_button.insert_before (restore_stack, /* insert last */ null);
+ restore_stack.add_child (restore_button);
restore_stack.set_visible_child (restore_button);
restore_stack.visible = true;
headerbar.pack_start (restore_stack);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]