Commit graph

11 commits

Author SHA1 Message Date
Michael Gratton
f4d3c54110 ui: Remove can_focus from GTK builder file definitions
GTK widgets set the default for this as needed, and some incorrect
values for this have caused issues with keyboard focus.

Fixes #1059
2021-01-27 21:43:23 +11:00
Julian Sparber
17afbca172 account-editor: don't show close button for edit/servers pane
This makes it consistent with the other panes.
2020-11-17 13:45:57 +01:00
Julian Sparber
95f182df3f account-editor: use HdyClamp and remove padding 2020-11-17 13:45:56 +01:00
Michael Gratton
fdb9243ae5 Move common account editor pane in-app notification impl to the editor
This moves the individual in-app notification implementation on each of
the editor panes to the editor itself, reducing redundancy and allowing
the editor to issue notifications if needed (spoiler: it will).
2019-01-09 13:30:50 +11:00
Piotr Drąg
efe6dc9062 Mark headerbar titles for translation 2018-12-28 14:57:29 +01:00
Michael Gratton
d61d49bef9 Use a command stack with Accounts.EditorServerPane
Use the stack to apply changes to the service config copies and update
the apply button's state.
2018-12-20 20:47:38 +11:00
Michael Gratton
8d606e57a8 Implement initial server editing and validation 2018-12-01 00:26:24 +11:00
Michael Gratton
3c06c0969e Improve handling of GOA accounts in the account editor
Show GNOME settings when adding a supported GOA service type and
it is installed, otherwise show Geary's custom password-based impl.

For GOA accounts, hide the Remove button, and enable opening the
account in GNOME Settings from the server pane.
2018-11-30 23:49:30 +11:00
Michael Gratton
bb629999a6 Implement decent keyboard nav for AccountsEditor and editor panes
Return to previous panes using escape/back/(left|right), navigate
between settings list items using up/down.

Implementation courtesy
https://blogs.gnome.org/mclasen/2014/02/27/getting-the-details-right/
2018-11-30 23:49:30 +11:00
Michael James Gratton
f754d3df82 Introduce some common interfaces for account editor panes.
This allows the panes themselves to manage their own headers, command
stacks, and so on. Break out the account list pane out so it's handled in
the same way as the others.
2018-11-30 23:49:30 +11:00
Michael James Gratton
688040663a Add initial replacement account server details pane. 2018-11-30 23:49:30 +11:00