pidgin/resources/Dialogs/addchat.ui

changeset 41864
6f490dec468f
parent 41854
c1d7e7445b0f
child 41896
6ff3224e40da
--- a/pidgin/resources/Dialogs/addchat.ui	Sat Oct 29 02:05:16 2022 -0500
+++ b/pidgin/resources/Dialogs/addchat.ui	Sun Oct 30 03:29:33 2022 -0500
@@ -25,13 +25,6 @@
   <!-- interface-name Pidgin -->
   <!-- interface-description Internet Messenger -->
   <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
-  <object class="PidginAccountStore" id="account_store"/>
-  <object class="PidginAccountFilterConnected" id="account_filter_connected">
-    <property name="child-model">account_store</property>
-  </object>
-  <object class="GtkTreeModelFilter" id="filter">
-    <property name="child-model">account_filter_connected</property>
-  </object>
   <template class="PidginAddChatDialog" parent="GtkDialog">
     <property name="title" translatable="1">Add Chat</property>
     <property name="resizable">0</property>
@@ -66,7 +59,16 @@
             <child>
               <object class="PidginAccountChooser" id="account">
                 <property name="hexpand">1</property>
-                <property name="model">filter</property>
+                <property name="filter">
+                  <object class="GtkEveryFilter">
+                    <child>
+                      <object class="GtkCustomFilter" id="filter"/>
+                    </child>
+                    <child>
+                      <object class="PidginAccountFilterConnected"/>
+                    </child>
+                  </object>
+                </property>
                 <signal name="notify::account" handler="pidgin_add_chat_dialog_account_changed_cb" swapped="no"/>
               </object>
             </child>

mercurial