[gnome-calendar] window: Move the toast overlay at the root of the window



commit 3c37304e540500230d3c38f7e455fabb5f503337
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri May 6 12:34:08 2022 +0200

    window: Move the toast overlay at the root of the window
    
    This is needed to add a sidebar.

 src/gui/gcal-window.ui | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/gui/gcal-window.ui b/src/gui/gcal-window.ui
index 0d37e8c9..a747d33c 100644
--- a/src/gui/gcal-window.ui
+++ b/src/gui/gcal-window.ui
@@ -94,6 +94,9 @@
       </object>
     </child>
 
+    <!-- Main Overlay -->
+    <child>
+      <object class="AdwToastOverlay" id="overlay">
     <child>
       <object class="GtkBox">
         <property name="orientation">vertical</property>
@@ -152,10 +155,6 @@
             </child>
           </object>
         </child>
-
-        <!-- Main Overlay -->
-        <child>
-          <object class="AdwToastOverlay" id="overlay">
             <child>
               <object class="GtkBox" id="main_box">
                 <property name="hexpand">True</property>
@@ -204,7 +203,6 @@
             </child>
           </object>
         </child>
-
       </object>
     </child>
   </template>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]