pidgin/plugins/xmppconsole/xmppconsole.gresource.xml

Sun, 30 Oct 2022 03:29:33 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Sun, 30 Oct 2022 03:29:33 -0500
changeset 41864
6f490dec468f
parent 41788
7a5bc285372c
permissions
-rw-r--r--

Move PidginAccountChooser to GtkDropDown

The chooser connects to the default account manager automatically.
Additionally, re-parent the `GtkTreeModelFilter` subclasses to `GtkFilter`, and use them on the `filter` property.

This also means the previous `filter_func` that was moved to `GtkFilter` in /r/1995 are now used again.

Testing Done:
Opened most of the affected dialogs. Disabled XMPP account and saw that it was removed from all connected-only filtered choosers. Re-enabled account and it was back in the choosers.

Confirmed that only XMPP, and not Demo accounts appeared in the two XMPP-specific plugins.

Request API is still only compile-tested.

Reviewed at https://reviews.imfreedom.org/r/1992/

<?xml version="1.0" encoding="UTF-8"?>
<gresources>
  <gresource prefix="/im/pidgin/Pidgin3/Plugin/XMPPConsole/">
    <file compressed="true" preprocess="xml-stripblanks">console.ui</file>
  </gresource>
</gresources>

mercurial