[gnome-control-center/user-accounts-use-title-style-login-history-dialog] user-accounts: Use "title" styling for login history dialog header




commit 611abb6fda1de94a9a9564572bd1ba4d58654873
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Jul 11 12:40:00 2022 +0200

    user-accounts: Use "title" styling for login history dialog header
    
    See https://docs.gtk.org/gtk4/class.HeaderBar.html#gtkheaderbar-as-gtkbuildable
    
    Fixes #1958

 panels/user-accounts/cc-login-history-dialog.ui | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/cc-login-history-dialog.ui b/panels/user-accounts/cc-login-history-dialog.ui
index fe07340de..d90c3f1af 100644
--- a/panels/user-accounts/cc-login-history-dialog.ui
+++ b/panels/user-accounts/cc-login-history-dialog.ui
@@ -7,10 +7,13 @@
     <property name="icon_name">system-users</property>
     <child internal-child="headerbar">
       <object class="GtkHeaderBar" id="header_bar">
-        <child type="title">
+        <property name="title-widget">
           <object class="GtkLabel" id="title_label">
+            <style>
+              <class name="title"/>
+            </style>
           </object>
-        </child>
+        </property>
         <child>
           <object class="GtkBox">
             <style>


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