[gnome-taquin/arnaudb/wip/gtk4: 48/56] Comment for now.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin/arnaudb/wip/gtk4: 48/56] Comment for now.
- Date: Wed, 30 Sep 2020 13:55:33 +0000 (UTC)
commit 1db02267cae8703b9351ba640c2b555ca09b81fc
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Sep 29 17:34:55 2020 +0200
Comment for now.
src/game-actionbar.vala | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/game-actionbar.vala b/src/game-actionbar.vala
index edf8290..d494e5a 100644
--- a/src/game-actionbar.vala
+++ b/src/game-actionbar.vala
@@ -110,23 +110,23 @@ private class GameActionBarPlaceHolder : Widget, AdaptativeWidget
internal GameActionBarPlaceHolder (GameActionBar _actionbar)
{
actionbar = _actionbar;
- actionbar.size_allocate.connect (set_height);
- set_height ();
+// actionbar.size_allocate.connect (set_height);
+// set_height ();
revealer.set_reveal_child (true); // seems like setting it in the UI file does not work, while it
is OK for GameActionBar...
}
- private void set_height ()
- {
- Requisition natural_size;
- Widget? widget = actionbar.get_first_child ();
- if (widget == null || !(widget is Revealer))
- assert_not_reached ();
- widget = ((Revealer) (!) widget).get_child ();
- if (widget == null)
- return;
- ((!) widget).get_preferred_size (/* minimum size */ null, out natural_size);
- placeholder_child.height_request = natural_size.height;
- }
+// private void set_height ()
+// {
+// Requisition natural_size;
+// Widget? widget = actionbar.get_first_child ();
+// if (widget == null || !(widget is Revealer))
+// assert_not_reached ();
+// widget = ((Revealer) (!) widget).get_child ();
+// if (widget == null)
+// return;
+// ((!) widget).get_preferred_size (/* minimum size */ null, out natural_size);
+// placeholder_child.height_request = natural_size.height;
+// }
/*\
* * adaptative stuff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]