in-app-notification: compose with GtkBin instead of subclassing GtkRevealer

Note that the GtkOverlay must pass-through interactions for this to
work, meaning it's no longer possible to interact with the
notifications. I'm leaving it like this since I'll need to replace it
with AdwToast later anyways.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev
2023-08-26 19:59:59 -07:00
parent f1e63c4979
commit 2141c1ffc2
6 changed files with 51 additions and 34 deletions

View File

@@ -15,6 +15,9 @@
<object class="CallsInAppNotification" id="in_app_notification">
<property name="visible">True</property>
</object>
<packing>
<property name="pass-through">True</property>
</packing>
</child>
<child>
<object class="GtkStack" id="main_stack">