[gnome-todo] welcome: Add a flat headerbar



commit c5bea306bbd0b7bcd7c3a2436f658b29d5c85702
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Sep 14 19:41:09 2021 -0300

    welcome: Add a flat headerbar
    
    Now that workspaces manage their own headerbars, the Welcome
    page needs to have one too.

 src/plugins/welcome/gtd-welcome-workspace.ui | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/welcome/gtd-welcome-workspace.ui b/src/plugins/welcome/gtd-welcome-workspace.ui
index 82299582..f49a36a1 100644
--- a/src/plugins/welcome/gtd-welcome-workspace.ui
+++ b/src/plugins/welcome/gtd-welcome-workspace.ui
@@ -5,11 +5,19 @@
       <object class="GtkBinLayout" />
     </property>
 
-    <!-- Background Image -->
     <child>
-      <object class="GtkImage" id="background_image">
-        <property name="hexpand">true</property>
-        <property name="vexpand">true</property>
+      <object class="AdwHeaderBar">
+        <property name="valign">start</property>
+        <property name="show-start-title-buttons">True</property>
+        <property name="show-end-title-buttons">True</property>
+        <style>
+          <class name="flat" />
+        </style>
+        <property name="title-widget">
+          <object class="AdwWindowTitle">
+            <property name="visible">False</property>
+          </object>
+        </property>
       </object>
     </child>
 


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