Commit graph

4 commits

Author SHA1 Message Date
Niels De Graef
be3ed978e2 Draft: Port to GTK4 2025-12-15 09:40:38 +01:00
Michael Gratton
2b5ef5ea52 Application.AttachmentManager: Default save chooser to XDG_DOWNLOADS
We know that location is writable under Flatpak at the moment, so
default to it.
2021-02-03 23:52:20 +11:00
Michael Gratton
e4cbff8bfa De-cruftify Geary.Collection utility functions
Remove functions that have as-convenient methods in up-tp-date Gee,
rename ::get_first to ::first so it reads better and add API docs,
replace ::to_array_list with ::copy, since that's what's actually
needed.
2019-11-19 19:22:38 +11:00
Michael Gratton
de6ef699de Clean up attachment save code
Create new Application.AttachmentManager class and move code for saving
attachments there from both Application.Controller and MainWindow since
aside from needing the latter for dialogs it is independent of both.

Create new Components.AttachmentPane widget for diplaying attachents
for an email in the ConversationViewer.

Update ConversationEmail and ConversationMessage to use these two new
classes directly, rather than implementing save management itself or
requiring the MainWindow to wire up signals on these classes.
2019-11-07 11:58:55 +11:00