Re-design account manager as a GtkListBox

Review Request #2079 — Created Jan. 17, 2023 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

Moves to a nicely spaced GtkListBox. The avatar is implemented using AdwAvatar solely for the autogenerated colour for accounts without an icon to give them some uniqueness, but it could be moved to PidginAvatar.

As a followup, I'd probably move the Account Editors from a separate dialog to stack within the manager, similar to how the Plugin dialog works. Neither the previous manager nor this one prevents you from opening two editors for an account, but this would remove that issue as well.

Toggled enabled/disabled to check that account status worked and was displayed. Added a few bogus accounts to confirm that errors are shown. Activated a row to show the editor. Hit the delete button and cancelled/approved and confirmed that account was kept/removed.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last Summary ID Author
Re-design account manager as a GtkListBox
83912641eb555d15274e9a5b9e1c2ee0eef777b7 Elliott Sales de Andrade
pidgin/meson.build
pidgin/pidginaccountmanager.c
pidgin/pidginaccountrow.h
pidgin/pidginaccountrow.c
pidgin/resources/pidgin.gresource.xml
pidgin/resources/Accounts/account-row.ui
pidgin/resources/Accounts/manager.ui
po/POTFILES.in
Loading...