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/
|
38376
d27109ba6626
Move gtkdebug.html into a GResource.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
d27109ba6626
Move gtkdebug.html into a GResource.
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:
41029
diff
changeset
|
3 | <gresource prefix="/im/pidgin/Pidgin3/"> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
4 | <file compressed="true" preprocess="xml-stripblanks">About/about.ui</file> |
|
39216
f6ab17b953df
Replace the WebkitWebView with Talkatu widgets. There's some bugs, but it mostly works
Gary Kramlich <grim@reaperworld.com>
parents:
39178
diff
changeset
|
5 | <file compressed="true">About/about.md</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
6 | <file compressed="true" preprocess="json-stripblanks">About/credits.json</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
7 | <file compressed="true" preprocess="xml-stripblanks">Accounts/chooser.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
8 | <file compressed="true" preprocess="xml-stripblanks">Accounts/editor.ui</file> |
|
40552
eb0f386cea6b
Moved all of the inline css in pidgin to resource files
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
9 | <file compressed="true">Accounts/entry.css</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
10 | <file compressed="true" preprocess="xml-stripblanks">Accounts/manager.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
11 | <file compressed="true" preprocess="xml-stripblanks">Avatar/avatar.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
12 | <file compressed="true" preprocess="xml-stripblanks">Avatar/menu.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
13 | <file compressed="true" preprocess="xml-stripblanks">BuddyList/window.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
14 | <file compressed="true" preprocess="xml-stripblanks">Conversations/infopane.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
15 | <file compressed="true" preprocess="xml-stripblanks">Conversations/invite_dialog.ui</file> |
|
40552
eb0f386cea6b
Moved all of the inline css in pidgin to resource files
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
16 | <file compressed="true">Conversations/tab-label.css</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
17 | <file compressed="true" preprocess="xml-stripblanks">Debug/debug.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
18 | <file compressed="true" preprocess="xml-stripblanks">Dialogs/addbuddy.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
19 | <file compressed="true" preprocess="xml-stripblanks">Dialogs/addchat.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
20 | <file compressed="true" preprocess="xml-stripblanks">Display/window.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
21 | <file compressed="true" preprocess="xml-stripblanks">Keypad/keypad.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
22 | <file compressed="true" preprocess="xml-stripblanks">Media/window.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
23 | <file compressed="true" preprocess="xml-stripblanks">Notifications/addcontact.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
24 | <file compressed="true" preprocess="xml-stripblanks">Notifications/authorizationrequest.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
25 | <file compressed="true" preprocess="xml-stripblanks">Notifications/connectionerror.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
26 | <file compressed="true" preprocess="xml-stripblanks">Notifications/list.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
27 | <file compressed="true" preprocess="xml-stripblanks">Plugins/dialog.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
28 | <file compressed="true" preprocess="xml-stripblanks">Prefs/away.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
29 | <file compressed="true" preprocess="xml-stripblanks">Prefs/conversation.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
30 | <file compressed="true" preprocess="xml-stripblanks">Prefs/credentials.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
31 | <file compressed="true" preprocess="xml-stripblanks">Prefs/credentialprovider.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
32 | <file compressed="true" preprocess="xml-stripblanks">Prefs/network.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
33 | <file compressed="true" preprocess="xml-stripblanks">Prefs/prefs.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
34 | <file compressed="true" preprocess="xml-stripblanks">Prefs/proxy.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
35 | <file compressed="true" preprocess="xml-stripblanks">Prefs/vv.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
36 | <file compressed="true" preprocess="xml-stripblanks">Privacy/dialog.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
37 | <file compressed="true" preprocess="xml-stripblanks">Protocols/chooser.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
38 | <file compressed="true" preprocess="xml-stripblanks">Protocols/detailed-view.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
39 | <file compressed="true" preprocess="xml-stripblanks">Roomlist/roomlist.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
40 | <file compressed="true" preprocess="xml-stripblanks">Status/box.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
41 | <file compressed="true" preprocess="xml-stripblanks">Status/editor.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
42 | <file compressed="true" preprocess="xml-stripblanks">Status/manager.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
43 | <file compressed="true" preprocess="xml-stripblanks">Whiteboard/whiteboard.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
44 | <file compressed="true" preprocess="xml-stripblanks">Xfer/xfer.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
45 | <file compressed="true" preprocess="xml-stripblanks">gtk/menus.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
46 | <file compressed="true" preprocess="xml-stripblanks">presenceicon.ui</file> |
|
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
47 | <file compressed="true" preprocess="xml-stripblanks">statusprimitivechooser.ui</file> |
|
41029
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
48 | <file>icons/16x16/status/pidgin-user-available.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
49 | <file>icons/16x16/status/pidgin-user-away.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
50 | <file>icons/16x16/status/pidgin-user-busy.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
51 | <file>icons/16x16/status/pidgin-user-extended-away.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
52 | <file>icons/16x16/status/pidgin-user-invisible.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
53 | <file>icons/16x16/status/pidgin-user-offline.png</file> |
|
b867c3e03cb0
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Gary Kramlich <grim@reaperworld.com>
parents:
40873
diff
changeset
|
54 | <file>icons/16x16/status/pidgin-user-unavailable.png</file> |
|
41093
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
55 | <file>icons/16x16/emblems/pidgin-status-founder.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
56 | <file>icons/16x16/emblems/pidgin-status-halfop.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
57 | <file>icons/16x16/emblems/pidgin-status-ignored.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
58 | <file>icons/16x16/emblems/pidgin-status-operator.png</file> |
|
13d97dcd0e67
Use icon names for chat emblems
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41030
diff
changeset
|
59 | <file>icons/16x16/emblems/pidgin-status-voice.png</file> |
|
41788
7a5bc285372c
Use the preprocess attribute in gresource xml files to minimize and validate xml and json
Gary Kramlich <grim@reaperworld.com>
parents:
41767
diff
changeset
|
60 | <file>logo.png</file> |
|
38659
7772f66662f0
Lots of tweaking/wiring
Gary Kramlich <grim@reaperworld.com>
parents:
38658
diff
changeset
|
61 | </gresource> |
|
38376
d27109ba6626
Move gtkdebug.html into a GResource.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
62 | </gresources> |