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




commit c2145cacf431d9367e5f75aa80069cb043a9cd17
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 c13ab4a84..f1b656b2e 100644
--- a/panels/user-accounts/cc-login-history-dialog.ui
+++ b/panels/user-accounts/cc-login-history-dialog.ui
@@ -10,10 +10,13 @@
     </accessibility>
     <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]