Niels De Graef
6ce2373a75
Create a config.vapi for config.h
...
Currently, a lot of our build variables that are defined at
configuration time, are spread out across the code base, often declared
as `extern` which can break when moving around sections of the code
across files.
This commit introduces a "Config" namespace which basically maps to the
definitions in `config.h`, but allows us to properly access them too
from the Vala source code.
By doing so, it helps us to more explicitly see where we rely on a
build variable from this file (which should be obvious from the `Config'
namespace).
To make it ourselves a bit easier in Meson too, we can declare an
internal dependency, which helps ensure that we pull in the dependency
where needed.
2025-12-07 01:32:32 +01:00
Niels De Graef
d44e934ccf
webview: Don't register the same resources twice
2025-11-24 12:29:38 +01:00
Cédric Bellegarde
636459b97e
client: conversation-list: Show recipients in Sent folder
...
Fix #669
2025-08-27 08:06:56 +00:00
Cédric Bellegarde
42c5b6248a
engine: Detect mime encoding constraint from server EHLO
...
Fix #1416
2025-08-27 08:03:38 +00:00
Serhii Tereshchenko
efc10cd504
feat: Use DarkReader for dark mode emails
2025-07-21 08:39:49 +00:00
Cédric Bellegarde
d6793342c1
client: Go to next pane once something has been selected
...
Fix #1601
2025-06-09 19:36:29 +00:00
Jeremy Bicha
dcb1ee40b3
Support GNOME 42 dark theme preference
2025-06-09 21:12:02 +02:00
Serhii Tereshchenko
dbfb7f40da
client: Support Dark Mode
...
Refs #714
Co-authored-by: Niels De Graef <nielsdegraef@gmail.com>
2025-06-09 16:25:30 +03:00
mooff
2ef32d2d2d
Implement dark mode using color-scheme CSS property
2025-05-31 13:21:09 +03:00
Serhii Tereshchenko
851f188a06
client: Fix invalid conversion from points to pixels
...
CSS and WebKit expects font size in pixels, but not "actual device pixels".
This fixes incorrect font size when using font-scaling with WebKitGTK >= 2.48.
Under older WebKitGTK versions result will be the same.
Refs https://github.com/WebKit/WebKit/pull/40412#issuecomment-2690897270
2025-04-29 21:21:15 +00:00
Serhii Tereshchenko
9914508e21
client: Fix incorrect height being set for a WebView, when using font scaling
...
Fixes #1646
2025-04-04 00:17:15 +00:00
Balló György
e91606b25b
Set prgname to application ID
...
Using the application ID ensures that Wayland compositors could match the
window with the application and show the appropriate icon for them.
2024-09-03 16:50:08 +00:00
Tux
1fb4d3b3d6
Fix crash with drag-and-drop in conversations view
2024-07-20 12:09:34 +08:00
Sabri Ünal
6bc111f7cc
Update file util-date.vala
...
- Add `//xgettext: no-c-format` comment to prevent dates marked as c-format
- Use `https://docs.gtk.org/glib/method.DateTime.format.html `
instead of unreachable `http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format `.
2024-06-25 13:53:49 +03:00
Cédric Bellegarde
22b3eeb9c9
client: Simpler notification messages
...
Fix #1015
2024-02-21 14:32:12 +00:00
Cédric Bellegarde
fa41e36efa
client: Navigate forward when opening a message
...
Fix #1558
2024-02-21 13:39:59 +00:00
Cédric Bellegarde
22d60d777b
client: Remove map handler on first map
...
40a2c1aec4 introduced a regression on composer detach.
On detach, widget is mapped again and composer content is cleared. Be sure
to remove handler on first map.
2024-02-21 13:12:37 +00:00
Niels De Graef
6ae4cd620f
composer-widget: Ellipsize long attachment names
...
If an attachment name is way too long, the attachment name label forces
the composer widget to become too wide which breaks on smaller screens.
To fix this, ellipsize the label if needed. Since the user has probably
just chosen the attachment, they probably have an idea which attachment
it is anyway, so we can do this instead of wrapping. Since the file
extension can make a big difference, we ellipsize in the middle.
When a label is ellipsized, we also add the label as a tooltip in case a
user wants to double check the attachment name though.
Fixes: https://gitlab.gnome.org/GNOME/geary/-/issues/1577
2024-02-17 15:51:53 +00:00
Cédric Bellegarde
587181a69d
client: Workaround a secret issue with Flatpak
2024-02-02 11:08:42 +00:00
J. Alexander Alzate Olaya
daaa10a96a
accounts_editor_edit_pane: Add default tooltip to undo button
2024-01-12 20:22:58 +01:00
Cédric Bellegarde
f39839a926
client: Update actions on selection if folded
2023-12-20 14:25:45 +00:00
Cédric Bellegarde
d7ec8bafee
client: Application.MainWindow: Always log error in the background
...
convo.get_count() will not be zero when an email is loaded while being
removed.
2023-12-20 11:21:29 +00:00
Cédric Bellegarde
cb60bdd3ea
client: Application.Controller: Disable flood prevention after a small timeout
...
Marking a message with same command is legit in those scenarios:
- Previous mark command failed, we do not want Geary to be unable to
mark message again
- Multiple clients connected to same IMAP box:
- Geary marked message as read
- Another client marked it as unread
- Geary is unable to mark it as read again
2023-12-20 11:21:29 +00:00
Cédric Bellegarde
4c442f6253
client: Ensure conversation is loaded before replying
2023-11-18 13:14:53 +00:00
Cédric Bellegarde
a5e4764de5
client: Remove mostly unused StatusBar widget
...
- Message are now shown in toasts
- It's only used to hold a Spinner, moved in HeaderBar
2023-11-18 12:02:15 +00:00
Cédric Bellegarde
42cb76282e
client: Ensure accounts dialog fits on small display devices
...
- Replace ellipsizing by wrapping
- Switch to vertical boxing if not enough space
- Fix welcome dialog
2023-10-14 11:41:18 +00:00
Cédric Bellegarde
88a31454d8
client: Reset last selected folder when leaving search
...
Fix #1063
2023-10-13 20:56:21 +00:00
Cédric Bellegarde
4c265cc9d6
client: components: Add a warning about enabling remote images
...
Fix #1550
2023-10-09 16:01:50 +02:00
Cédric Bellegarde
423cf1ee13
client: conversation-viewer: Update warning string about remote images
...
Fix #1425
2023-10-09 15:56:34 +02:00
Cédric Bellegarde
4359918825
client: More tweaks for lower desktop resolutions
2023-09-11 17:36:27 +02:00
Cédric Bellegarde
d054e19cff
client: higher infobar priority for special folders
...
Fix #1349
2023-08-29 23:04:24 +00:00
Cédric Bellegarde
46ec026404
client: move ComponentsInAppNotification as a toast
...
Fix #1207
2023-08-25 08:17:33 +02:00
Cédric Bellegarde
83bd8e0353
client: More tweaks for lower desktop resolutions
2023-08-25 08:12:26 +02:00
Cédric Bellegarde
41874dc29a
client: ConversationList.Row: Rework widget internals
...
- Remove hover buttons
- Move flagged icon to the right
Fix #1516
2023-08-24 06:45:50 +00:00
Cédric Bellegarde
40a2c1aec4
client: Always load email once view is mapped
...
Remove CSS width workaround.
Fix #283 #1205
2023-08-20 21:41:24 +00:00
Cédric Bellegarde
d47e357b2c
client: tweaks for lower desktop resolutions
...
Fix #1164 again
2023-08-20 23:05:43 +02:00
Cédric Bellegarde
a94701ffc7
client: Do not update selection if current not removed
2023-08-17 19:53:30 +00:00
Cédric Bellegarde
4a232d4a08
client: Respect autoselect setting
...
#1516
2023-08-17 19:53:30 +00:00
Cédric Bellegarde
186b5a6d7b
client: Use natural width intead of CSS min-width
...
#1516
2023-08-17 19:53:30 +00:00
Cédric Bellegarde
41931d0add
client: Components.ConversationActions: Update buttons when account updated
...
- Revert back !783
- Handle update on account setter
- Fix #1198
2023-08-11 00:18:04 +00:00
Cédric Bellegarde
98eb063398
treewide: Remove deprecated run_javascript()
...
#1497
2023-08-10 23:55:20 +00:00
Cédric Bellegarde
e1e859457b
client: Components.ConversationActions: Always reset icon when leaving a GMail account
2023-07-12 15:26:46 +02:00
Cédric Bellegarde
50c8c7307d
client: ConversationList.View: Fix keyboard navigation
...
Fix #1515
2023-07-12 14:52:38 +02:00
Cédric Bellegarde
1df9d26575
client: Application.MainWindow: handle gtk-decoration-layout setting
...
Fix #1428
2023-07-11 02:05:44 +00:00
Cédric Bellegarde
b0dea546b3
client: Components.WebView: enable_java is deprecated
2023-07-10 11:22:42 +02:00
Niels De Graef
f05d5b008a
Apply 1 suggestion(s) to 1 file(s)
2023-07-08 22:30:10 +00:00
Daniel Yahalom
4f84f8ff42
Readded tooltips in compact conversation view
2023-07-08 22:30:10 +00:00
Daniel Yahalom
b9889e6a42
Revert "Readded tooltips in compact conversation view"
...
This reverts commit 1ac5bd6394589ec9d7739c7672cb213d574dc802
2023-07-08 22:12:06 +00:00
Daniel Yahalom
0091d6e8f7
Readded tooltips in compact conversation view
2023-07-08 22:12:06 +00:00
Cédric Bellegarde
63472121d2
Revert "Fix crash when conversation scrolled window child changes."
...
This reverts commit 07966a1156 .
This commit was needed due to an issue in GTK
https://bugzilla.gnome.org/show_bug.cgi?id=778190 (which was later
migrated to https://gitlab.gnome.org/GNOME/gtk/-/issues/749 ).
This was fixed since 3.24.24, so bump the meson version too.
2023-07-08 00:59:56 +02:00