[gnome-shell/wip/fmuellner/gtk4: 19/31] extensions-app: Set title on window instead of headerbar




commit b6dcfa79f15693b57a6c2d6a920a148fbd18fc7c
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Apr 15 20:27:15 2020 +0200

    extensions-app: Set title on window instead of headerbar
    
    GTK4 will remove the GtkHeaderBar:title property, so stop using it
    and set the window's title property instead, as that's what headbars
    use in both GTK3 and GTK4 unless explicitly overridden.

 subprojects/extensions-app/data/ui/extensions-window.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/subprojects/extensions-app/data/ui/extensions-window.ui 
b/subprojects/extensions-app/data/ui/extensions-window.ui
index 1ae5bfc991..fa710d01e4 100644
--- a/subprojects/extensions-app/data/ui/extensions-window.ui
+++ b/subprojects/extensions-app/data/ui/extensions-window.ui
@@ -55,10 +55,10 @@
   <template class="ExtensionsWindow" parent="GtkApplicationWindow">
     <property name="default_width">800</property>
     <property name="default_height">500</property>
+    <property name="title" translatable="yes">Extensions</property>
     <child type="titlebar">
       <object class="GtkHeaderBar">
         <property name="visible">True</property>
-        <property name="title" translatable="yes">Extensions</property>
         <property name="show_close_button">True</property>
         <child>
           <object class="GtkMenuButton">


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