Commit graph

729 commits

Author SHA1 Message Date
Sabri Ünal
73dae4e83b application: fix Keyboard Shortcuts accel entry
To comply GNOME HIG, change Primary+F1 shortcut to Primary+question.

More information: https://developer.gnome.org/hig/reference/keyboard.html
2023-02-11 13:07:25 +00:00
Cédric Bellegarde
f45afac091 components: Rework adapative layout by removing HdySwipeGroup
HdySwipeGroup is deprecated since libhandy 1.4.

- Split headerbar into 3 components
- Remove HdySwipeGroups/GtkSizeGroups used for syncing headerbar with content.
2022-09-26 08:59:44 +00:00
Cédric Bellegarde
4b49892398 ui: Use a thiner progress in message header 2022-09-21 16:57:25 +02:00
Cédric Bellegarde
864a3135e3 components: Rework Folder Popover
- Do not use tags for service providers not using this metaphor
- Do not show folders with a dedicated button: Trash, Archive, ...
- Do not show folders as an IMAP path but as a human readable path (>INBOX>Folder vs Boîte de reception/Folder)
2022-09-20 05:37:14 +00:00
Cédric Bellegarde
a14f5d4799 client: accounts: Add support for Thunderbird autoconfig
- Auto detect server settings
- Rework accounts editor add panel

Fix #1390
Fix #1350
2022-09-07 12:10:06 +00:00
Cédric Bellegarde
b3c0afddab icons: Update icons to match recent Adwaita
- Remove icons already present upstream
- Replace marker by upstream checkbox
- Update mail-archive-symbolic to match last mail-symbolic from upstream
2022-07-22 21:14:08 +00:00
Cédric Bellegarde
9f893adc47 client: Add more options for displaying images from messages
- An application setting allowing to always trust images
- An option to trust images from an email domain
- Replaces buttons by a menu in infobar
2022-07-08 22:02:18 +02:00
Cédric Bellegarde
e2d387ce32 ui: Replace text-editor-symbolic with new Adwaita icon mail-message-new-symbolic 2022-06-30 08:09:33 +02:00
Chris Heywood
357bef45e7 Show drag & drop feedback dropping message on folder
Fixes regression resulting from !401
2021-04-19 10:16:07 +09:30
Adrien Plazas
a35d867192 ui: Homogeneize the panels
This makes the right panel take 50% of the window when it is wide
enough, and make the two other panels share the remaining 50%.
2021-04-14 12:52:01 +02:00
Michael Gratton
35f57c7682 Merge branch 'bdaase/geary-saner_pane_size_defaults' into 'mainline'
ui: Use saner pane size defaults

See merge request GNOME/geary!693
2021-04-14 09:39:28 +00:00
Björn Daase
6ec89fc491 ui: Use saner pane size defaults
Related: https://gitlab.gnome.org/GNOME/geary/-/issues/1164
2021-04-14 19:15:36 +10:00
Michael Gratton
1667a7b2da client: Ensure keyboard focus is not lost when main window leaflets fold
See GNOME/libhandy#179
2021-04-14 19:08:35 +10:00
Michael Gratton
eb9cdb0c38 client: Fix conversation viewer actions visible when unfolded at startup
Both leaflets are unfolded by default, and fold down if the window is
too small, hence the conversation list's and viewer's action bar
revealers must be hidden by default to match,
2021-04-14 00:49:45 +10:00
Adrien Plazas
b75a7f3bae conversation-actions: Keep the reply buttons in the headerbar
Move the other buttons to the actionbar is the window is too narrow.
2021-04-14 00:49:45 +10:00
Adrien Plazas
c53063496c style: Style conversation action bars
Make them look a bit more like action bars by giving them a top border.
2021-04-14 00:49:45 +10:00
Michael Gratton
dbb9cc35e8 client: Simplify main window outer leaflet state change handling 2021-04-14 00:49:45 +10:00
Michael Gratton
78b3fddb6f client: Rename main window leafets and their children
Make them a bit easier to reason about.
2021-04-13 18:38:22 +10:00
Michael Gratton
4eefe3013e client: Fix packing of Component.ConversationActions 2021-04-13 18:38:19 +10:00
Michael Gratton
9e641600c3 client: Convert to using HdySqueezer for managing main toolbar actions 2021-04-13 18:36:16 +10:00
Michael Gratton
0aa8ad6a05 client: Convert from shared conversation action widget to use multiple
Convert Components.ConversationActions to a widget that encapsulates
selectively visible conversations action groups. Use multiple instances
of that in preference to a single shared instance that gets re-parented
as the responsive UI adjusts.

Flatten the custom widget hierarchy a bit by merging the
`ConversationActionBar` and `ConversationHeaderbar` widgets into
`MainToolbar` itself.
2021-04-11 11:23:13 +10:00
Michael Gratton
7b994ece1d client: Move MainToolbar into the Components name space proper 2021-04-09 21:11:41 +10:00
Michael Gratton
05ea5fbdb3 client: Revert folder list expander change
This undoes the expander-related changes introduced in !618, to fix
regressions such as #1177 and #1184.
2021-04-08 08:20:37 +10:00
Michael Gratton
946f6d786f client: Fix remote images not being loaded for remembered senders/email
Since commit 6a0ad721 landed the client can no longer reply on
pre-filling JS page state before loading the message body HTML, since
it would be cleared when the JS page state is initialised in the
window-object-cleared handler.

Instead, set the load remote flag as a GObject data property on the
WebKit.WebPage object in the web process via the extension, and consult
that when determining whether to allow loading remote content.

Fixes #1170
2021-04-05 14:14:46 +10:00
Michael Gratton
fd002c0156 client: Ensure non-image remote resources are also loaded when permitted
Update `PageState.loadRemoteResources` to process any child of the BODY
element that has a `src` or `srcset` element.
2021-04-05 11:12:18 +10:00
Michael Gratton
1be5dec877 client: Update Components.WebView terminology around resource loading
Refer uniformly to remote resource loading instead of that and remote
image loading.
2021-04-04 18:04:41 +10:00
Julian Sparber
6a052031df avatar: Use HdyAvatar for displaying avatars 2021-04-04 12:44:32 +10:00
James Westman
40dd92e8c3
composer-headerbar: Use HdyHeaderBar
This allows the headerbar to be draggable with HdyApplicationWindow.
2021-02-11 01:14:04 -06:00
Christopher Davis
44bc5c5cda toolbar: Use HdyHeaderBar
This was forgotten when porting to HdyWindow,
but is needed for making the window draggable.
2021-02-06 04:07:28 -08:00
Julian Sparber
dc6fb34422 main-window: replace GtkApplicationWindow with HdyApplicaitonWindow
HdyApplicationWindow moves the titlebar into the content area of the
window which allows us to split the current main-titlebar and move the
parts directly into the leaflets without the need of swipe groups nor
size groups.
2021-02-03 17:06:45 +01:00
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
Michael Gratton
e6ab0f754f Composer.Widget: Rework to use common header row widget
Add private HeaderRow and EntryHeaderRow widgets for displaying editable
headers in the composer, convert to using that to wrap up common
properties and functionality for each of the header rows.
2021-01-27 12:05:49 +11:00
Michael Gratton
430f8abe9a client: Convert main composer widgets to use proper CSS names 2021-01-26 23:23:45 +11:00
Michael Gratton
f281b5ca2e Composer.Widget: Rename some structural widgets to make more sense 2021-01-26 21:54:14 +11:00
Julian Sparber
95f75f789c conversation-list-box: remove shadow and make the rows rounded
This also makes the expander row look like in HdyExpander row.
2021-01-25 22:20:15 +01:00
Michael Gratton
c331145fd3 client: Clean up database upgrade dialog implementation
Rename `UpgradeDialog` to `DatabaseManager` since it's not actually a
dialog, move it into the APplication package. Replace old Glade UI file
with a custom built dialog since it's trivial and so we can make it
modal for a main window.

Fixes #1007
2021-01-19 23:50:29 +11:00
Michael Gratton
085b9691a1 ui/gtk/help-overlay.ui 2021-01-18 08:38:03 +00:00
Jeremias Ortega
e0fab92d3c
application-main-window: Add shortcut to select inbox
Closes: https://gitlab.gnome.org/GNOME/geary/-/issues/1108
2021-01-17 16:55:49 -06:00
Michael Gratton
600be0d5f4 ui/gtk/help-overlay.ui: Reorganise so most needed shortcuts are first
Make the section order: Conversations > Composer > Application >
Single-key.
2021-01-08 09:32:39 +11:00
Michael Gratton
2a5c29b96e ui/gtk/help-overlay.ui: Break app shortcuts out into their own section 2021-01-08 09:32:39 +11:00
Michael Gratton
baed3edf94 ui/gtk/help-overlay.ui: Use 2-space indentation for readability 2021-01-08 09:32:39 +11:00
Michael Gratton
1ad29a9be9 Merge branch 'sidebar-improvments' into 'mainline'
Modernize folder list (without rewrite)

Closes #880 and #1029

See merge request GNOME/geary!618
2021-01-07 22:29:05 +00:00
Michael Gratton
bf3a0e830b Merge branch 'adaptive_dialogs' into 'mainline'
Make account-editor adaptive

See merge request GNOME/geary!609
2021-01-07 21:54:57 +00:00
Julian Sparber
8aa5f291e8 folder-list: mordernize sidebar
This makes each row a better click target and improves spacing in
general. This move the expander arrow to the left and removes the
indentation for folders which makes it possible to define a much
smaller width for the sidebar.

Fixes: https://gitlab.gnome.org/GNOME/geary/-/issues/880,
       https://gitlab.gnome.org/GNOME/geary/-/issues/1029
2020-12-09 11:08:33 +01:00
Julian Sparber
5f22d92051 in-app-notification: wrap text and add start/end margin
This makes sure that the in-app-notification fits also small window
sizes and eventually wraps the text to a new.
2020-11-18 16:50:18 +01:00
Julian Sparber
3530a804a1 compnents-info-bar: use custom infobar so that the buttons reflow 2020-11-18 16:50:18 +01:00
Julian Sparber
ed3a451434 conversation-viewer: allow one email per line 2020-11-18 14:59:47 +01:00
Julian Sparber
9c6ca541cc conversation-viewer: move actions to the bottom when they don't fit 2020-11-18 14:59:43 +01: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
a30afb9e86 account-editor: replace remove confirm view with dialog 2020-11-17 13:45:57 +01:00