[krb5-auth-dialog] prefs: Switch Notifications page to AdwPreferencesGroup



commit 1969b285ef4c992efc90c3fcdab6c22f517d5d02
Author: Guido Günther <agx sigxcpu org>
Date:   Thu Oct 20 17:00:17 2022 +0200

    prefs: Switch Notifications page to AdwPreferencesGroup

 src/resources/ui/ka-preferences.ui | 36 ++----------------------------------
 1 file changed, 2 insertions(+), 34 deletions(-)
---
diff --git a/src/resources/ui/ka-preferences.ui b/src/resources/ui/ka-preferences.ui
index b38e1b7..304e149 100644
--- a/src/resources/ui/ka-preferences.ui
+++ b/src/resources/ui/ka-preferences.ui
@@ -148,37 +148,9 @@
                 <property name="icon-name">preferences-system-notifications-symbolic</property>
                 <property name="use-underline">True</property>
                 <child>
-                  <object class="GtkBox" id="vbox_notifications">
-                    <property name="orientation">vertical</property>
-                    <property name="margin-bottom">12</property>
-                    <property name="margin-end">12</property>
-                    <property name="margin-start">12</property>
-                    <property name="margin-top">12</property>
-                    <property name="spacing">18</property>
+                  <object class="AdwPreferencesGroup">
+                    <property name="title" translatable="yes">Notifications</property>
                     <child>
-                      <object class="GtkBox">
-                        <property name="orientation">vertical</property>
-                        <property name="spacing">12</property>
-                        <child>
-                          <object class="GtkLabel">
-                            <property name="halign">start</property>
-                            <property name="label" translatable="yes">Notifications</property>
-                            <style>
-                              <class name="heading"/>
-                            </style>
-                          </object>
-                        </child>
-                        <child>
-                          <object class="GtkBox">
-                            <property name="spacing">12</property>
-                            <child>
-                              <object class="GtkImage" id="image_notifications">
-                                <property name="valign">start</property>
-                                <property name="icon_name">krb-expiring-ticket</property>
-                                <property name="pixel-size">48</property>
-                              </object>
-                            </child>
-                            <child>
                               <object class="GtkBox">
                                 <property name="orientation">vertical</property>
                                 <property name="spacing">6</property>
@@ -206,10 +178,6 @@
                                   </object>
                                 </child>
                               </object>
-                            </child>
-                          </object>
-                        </child>
-                      </object>
                     </child>
                   </object>
                 </child>


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