pidgin/resources/Prefs/prefs.ui

changeset 43014
8194d922bd07
parent 42764
effcb245f840
child 43194
77aadc520684
--- a/pidgin/resources/Prefs/prefs.ui	Tue Oct 15 01:17:01 2024 -0500
+++ b/pidgin/resources/Prefs/prefs.ui	Tue Oct 15 01:48:58 2024 -0500
@@ -26,92 +26,29 @@
   <!-- interface-name Pidgin -->
   <!-- interface-description Internet Messenger -->
   <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
-  <template class="PidginPrefsWindow" parent="GtkDialog">
+  <template class="PidginPrefsWindow" parent="AdwPreferencesWindow">
     <property name="default-width">640</property>
     <property name="default-height">480</property>
     <property name="title" translatable="1">Preferences</property>
-    <child internal-child="content_area">
-      <object class="GtkBox">
-        <property name="vexpand">1</property>
-        <property name="orientation">horizontal</property>
-        <child>
-          <object class="GtkStackSidebar">
-            <property name="stack">stack</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkStack" id="stack">
-            <!--
-            <signal name="notify::visible-child" handler="vv_test_switch_page_cb" object="vv" swapped="no"/>
-            -->
-            <child>
-              <object class="GtkStackPage">
-                <property name="name">conversations</property>
-                <property name="title" translatable="1">Conversations</property>
-                <property name="child">
-                  <object class="PidginConversationPrefs"/>
-                </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkStackPage">
-                <property name="name">network</property>
-                <property name="title" translatable="1">Network</property>
-                <property name="child">
-                  <object class="PidginNetworkPrefs"/>
-                </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkStackPage">
-                <property name="name">proxy</property>
-                <property name="title" translatable="1">Proxy</property>
-                <property name="child">
-                  <object class="PidginProxyPrefs"/>
-                </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkStackPage">
-                <property name="name">away</property>
-                <property name="title" translatable="1">Status / Idle</property>
-                <property name="child">
-                  <object class="PidginAwayPrefs"/>
-                </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkStackPage">
-                <property name="name">credentials</property>
-                <property name="title" translatable="1">Credentials</property>
-                <property name="child">
-                  <object class="PidginCredentialPrefs"/>
-                </property>
-              </object>
-            </child>
-            <!--
-            <child>
-              <object class="GtkStackPage">
-                <property name="name">vv</property>
-                <property name="title" translatable="1">Voice/Video</property>
-                <property name="child">
-                  <object class="PidginVVPrefs" id="vv"/>
-                </property>
-              </object>
-            </child>
-            -->
-          </object>
-        </child>
-      </object>
+    <child>
+      <object class="PidginConversationPrefs"/>
+    </child>
+    <child>
+      <object class="PidginNetworkPrefs"/>
+    </child>
+    <child>
+      <object class="PidginProxyPrefs"/>
     </child>
-    <child type="action">
-      <object class="GtkButton">
-        <property name="label" translatable="1">_Close</property>
-        <property name="focusable">1</property>
-        <property name="receives-default">1</property>
-        <property name="use-underline">1</property>
-        <signal name="clicked" handler="gtk_window_destroy" object="PidginPrefsWindow" swapped="yes"/>
-      </object>
+    <child>
+      <object class="PidginAwayPrefs"/>
+    </child>
+    <child>
+      <object class="PidginCredentialPrefs"/>
     </child>
+    <!--
+    <child>
+      <object class="PidginVVPrefs" id="vv"/>
+    </child>
+    -->
   </template>
 </interface>

mercurial