Sat, 27 Feb 2021 12:17:11 -0600
Fix some issues with the protocol chooser and clean up its usage in GtkAccount
Added `PidginProtocolStore` and `PidginProtocolChooser` to the Glade catalog.
Updated the template for `PidginProtocolChooser` to use a `GtkTreeModelSort` to sort the list of protocols.
Ported the existing `purple_protocols_*` API use to `pidgin_protocol_manager_*`
Testing Done:
Verified the new account dialog shows up properly with the protocol chooser sorted.
Verified that editing an account had the proper protocol selected.
Verified that changing a protocol on an existing account worked.
Bugs closed: PIDGIN-17471, PIDGIN-17491, PIDGIN-17495
Reviewed at https://reviews.imfreedom.org/r/533/
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | <glade-catalog name="pidgin" version="@PURPLE_MAJOR_VERSION@.@PURPLE_MINOR_VERSION@" library="pidgin3"> |
|
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | <glade-widget-classes> |
|
39794
651112d8b178
Add account chooser to Glade catalog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39723
diff
changeset
|
4 | <glade-widget-class name="PidginAccountChooser" generic-name="account_chooser" title="AccountChooser"/> |
|
40379
c50c509dd028
Migrate the accounts menu to its own set of widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
5 | <glade-widget-class name="PidginAccountsMenu" generic-name="accounts_menu" title="AccountsMenu"/> |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
6 | <glade-widget-class name="PidginAccountStore" generic-name="account_store" title="AccountStore"/> |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
7 | <glade-widget-class name="PidginAccountFilterConnected" generic-name="account_filter_connected" title="FilterConnected"/> |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
8 | <glade-widget-class name="PidginAccountFilterProtocol" generic-name="account_filter_protocol" title="FilterProtocol"/> |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
9 | <glade-widget-class name="PidginCloseButton" generic-name="close-button" title="CloseButton"/> |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
40534
diff
changeset
|
10 | <glade-widget-class name="PidginConversationWindow" generic-name="conversation_window" title="ConversationWindow"/> |
|
40730
12b38cca63d7
Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
40728
diff
changeset
|
11 | <glade-widget-class name="PidginCredentialProviderStore" generic-name="credential_provider_store" title="CredentialProviderStore"/> |
|
12b38cca63d7
Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
40728
diff
changeset
|
12 | <glade-widget-class name="PidginCredentialsPage" generic-name="credentials_page" title="Credentials Page"/> |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
13 | <glade-widget-class name="PidginDialog" generic-name="dialog" title="Dialog"/> |
|
39723
9381a7fe86b8
Make all the generic names use underscores
Gary Kramlich <grim@reaperworld.com>
parents:
39722
diff
changeset
|
14 | <glade-widget-class name="PidginInviteDialog" generic-name="invite_dialog" title="InviteDialog"/> |
|
9381a7fe86b8
Make all the generic names use underscores
Gary Kramlich <grim@reaperworld.com>
parents:
39722
diff
changeset
|
15 | <glade-widget-class name="PidginMenuTray" generic-name="menu_tray" title="MenuTray"/> |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
39794
diff
changeset
|
16 | <glade-widget-class name="PidginPluginsMenu" generic-name="plugins_menu" title="PluginsMenu"/> |
|
40601
228284223862
Create PidginPresenceIcon that displays the correct icon for its bound PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
40600
diff
changeset
|
17 | <glade-widget-class name="PidginPresenceIcon" generic-name="presence_icon" title="PresenceIcon"/> |
|
40787
8a5a20a49e9b
Fix some issues with the protocol chooser and clean up its usage in GtkAccount
Gary Kramlich <grim@reaperworld.com>
parents:
40730
diff
changeset
|
18 | <glade-widget-class name="PidginProtocolChooser" generic-name="protocol_chooser" title="ProtocolChooser"/> |
|
8a5a20a49e9b
Fix some issues with the protocol chooser and clean up its usage in GtkAccount
Gary Kramlich <grim@reaperworld.com>
parents:
40730
diff
changeset
|
19 | <glade-widget-class name="PidginProtocolStore" generic-name="protocol_store" title="ProtocolStore"/> |
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | <glade-widget-class name="PidginScrollBook" generic-name="scroll_book" title="ScrollBook"/> |
|
40600
46d10c72c137
Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
40577
diff
changeset
|
21 | <glade-widget-class name="PidginStatusBox" generic-name="status_box" title="StatusBox"/> |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
22 | <glade-widget-class name="PidginWindow" generic-name="window" title="Window"/> |
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | </glade-widget-classes> |
|
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | <glade-widget-group name="pidgin" title="Pidgin"> |
|
39794
651112d8b178
Add account chooser to Glade catalog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39723
diff
changeset
|
25 | <glade-widget-class-ref name="PidginAccountChooser"/> |
|
40379
c50c509dd028
Migrate the accounts menu to its own set of widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
26 | <glade-widget-class-ref name="PidginAccountsMenu"/> |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
27 | <glade-widget-class-ref name="PidginAccountStore"/> |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
28 | <glade-widget-class-ref name="PidginAccountFilterConnected"/> |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40533
diff
changeset
|
29 | <glade-widget-class-ref name="PidginAccountFilterProtocol"/> |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
30 | <glade-widget-class-ref name="PidginCloseButton"/> |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
40534
diff
changeset
|
31 | <glade-widget-class-ref name="PidginConversationWindow"/> |
|
40730
12b38cca63d7
Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
40728
diff
changeset
|
32 | <glade-widget-class-ref name="PidginCredentialProviderStore"/> |
|
12b38cca63d7
Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
40728
diff
changeset
|
33 | <glade-widget-class-ref name="PidginCredentialsPage"/> |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
34 | <glade-widget-class-ref name="PidginDialog"/> |
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | <glade-widget-class-ref name="PidginInviteDialog"/> |
|
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | <glade-widget-class-ref name="PidginMenuTray"/> |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
39794
diff
changeset
|
37 | <glade-widget-class-ref name="PidginPluginsMenu"/> |
|
40601
228284223862
Create PidginPresenceIcon that displays the correct icon for its bound PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
40600
diff
changeset
|
38 | <glade-widget-class-ref name="PidginPresenceIcon"/> |
|
40787
8a5a20a49e9b
Fix some issues with the protocol chooser and clean up its usage in GtkAccount
Gary Kramlich <grim@reaperworld.com>
parents:
40730
diff
changeset
|
39 | <glade-widget-class-ref name="PidginProtocolChooser"/> |
|
8a5a20a49e9b
Fix some issues with the protocol chooser and clean up its usage in GtkAccount
Gary Kramlich <grim@reaperworld.com>
parents:
40730
diff
changeset
|
40 | <glade-widget-class-ref name="PidginProtocolStore"/> |
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | <glade-widget-class-ref name="PidginScrollBook"/> |
|
40600
46d10c72c137
Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
40577
diff
changeset
|
42 | <glade-widget-class-ref name="PidginStatusBox"/> |
|
40533
b1921b17b683
Replace some utility functions with actual widgets
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
43 | <glade-widget-class-ref name="PidginWindow"/> |
|
39722
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | </glade-widget-group> |
|
634c34c1abb4
A simple glade catalog with all (?) of our existing widgets.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | </glade-catalog> |