Implement in-app notifications as App wide actions.

At first I tried creating custom InAppNotifications and send
them to the main loop to be added. That does not work sicne gtk
widgets are not thread safe. For now we can try having Action messages
that create them on demand. As oppose to create first then pass them.
This commit is contained in:
Jordan Petridis
2018-03-09 14:53:13 +02:00
parent d1821163c2
commit 82988b6011
6 changed files with 34 additions and 20 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- Generated with glade 3.21.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkOverlay" id="inapp_notif_overlay">
<object class="GtkOverlay" id="notif_overlay">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>