Sun, 30 Oct 2022 03:29:33 -0500
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/
|
39805
17ef924a7e45
Convert XMPP console to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
17ef924a7e45
Convert XMPP console to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
2 | <gresources> |
|
41030
ec8b76f3bf0a
Fix the resource path so we can use the automatic stuff that GtkApplication supports
Gary Kramlich <grim@reaperworld.com>
parents:
39805
diff
changeset
|
3 | <gresource prefix="/im/pidgin/Pidgin3/Plugin/XMPPConsole/"> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41030
diff
changeset
|
4 | <file compressed="true" preprocess="xml-stripblanks">console.ui</file> |
|
39805
17ef924a7e45
Convert XMPP console to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
5 | </gresource> |
|
17ef924a7e45
Convert XMPP console to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
6 | </gresources> |