Commit graph

28 commits

Author SHA1 Message Date
Cédric Bellegarde
776b04ec9f client: Rework headerbar buttons to fit small screens
- Rework components-conversation-actions.ui
- Merge copy/move popovers
- Populate copy/move popover on the fly

Initial workaround for #1185, #1306, #1444, #1164, #1414
TODO: move to AdwBreakPoints from libadwaita
2023-07-05 13:47:02 +02:00
Cédric Bellegarde
786a9df536 client: startup notifications is a freedesktop.org concept
Do not use the same wording for our background mode
2022-08-25 21:50:28 +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
Adrien Plazas
fb311e1c82 Drop the 2-panes mode
This won't be needed to save horizontal space when using HdyLeaflet, and
it would make porting to it harder.
2020-10-10 10:41:49 +02:00
Adrien Plazas
a1f74d24ff Drop saving the paned width
This is needed to replace GtkPaned by HdyLeaflet. This breaks syncing
the size of the headerbar with the rest of the window, it will be fixed
in a later commit.
2020-10-10 10:41:49 +02:00
Michael Gratton
d8f2c6b498 desktop/org.gnome.Geary.gschema.xml: Hide formatting toolbar by default
Fixes #736
2020-05-06 18:35:03 +10:00
Michael Gratton
0c526f6644 Plugins: Support loading optional plugins
Add optional-plugins GSetting, automatically load any plugins specified
there at startup, and allow getting, loading and unloading optional
plugins via Application.PluginManager.
2020-03-17 19:23:24 +11:00
Michael Gratton
fa38c6cf8a Merge branch 'composer' into 'mainline'
composer: Adaptive toolbar

See merge request GNOME/geary!396
2020-01-23 08:36:45 +00:00
James Westman
2aff2694b2 composer: Move formatting buttons to new toolbar
Splits the toolbar at the top of the composer into two action
bars at the bottom. One is always visible and contains undo, redo,
spellcheck, a menu, and a button to toggle the other action bar. The
other action bar contains the formatting buttons.

Also cleans up the margins around the fields at the top.

Implemented according to the mockups at
https://gitlab.gnome.org/Teams/Design/app-mockups/raw/master/mail/composer.png
2020-01-21 19:43:37 -06:00
Adam Dingle
02c65476ea Allow brief notifications
This change allows certain notifications to be displayed only briefly. The new DConf key brief-notification-duration is the number of seconds for which brief notifications should be displayed.

At the moment the only brief notifications are "Message sent", "Conversation archived" and "Message archived".

Closes #602
2020-01-19 15:26:21 +01:00
Michael Gratton
259ebe50fd Re-implement single key shortcuts as a preference
Add new `single-key-shortcuts` GSetting, Application.Configuration
property and add UI for it in the Preferences window. When enabled,
load in new `single-key-shortcuts.css` file that has the appropriate
bindings. Update bindings to match Google's current set, and update
shortcut help to match.
2019-11-21 02:36:09 +11:00
Michael Gratton
8f8539788d Add undo-send-delay application setting 2019-11-17 20:00:02 +11:00
Michael Gratton
de6071ef60 Remove Play Sounds preference
This no longer makes sense since we don't have control over it for
notifications any more, and hence was only being used for sent mail.

Replace it with a NotificationContext signal so that a plugin could be
written to play a sound instead.
2019-09-27 20:42:58 +10:00
Michael Gratton
c7c135ce5b Remove notifications preference now it is unused 2019-09-27 19:53:58 +10:00
Michael Gratton
f27f2fb91f Try harder to ensure a spell checker is enabled by default
When no spell checker langauges are explicitly set, use the set of
preferred languages for spell checking. Make spell-check-languages
setting nullable so we can differenciate between "use default"
and "disable spellchecking".
2019-05-24 12:37:19 +02:00
Michael Gratton
18039ed7ad Remove avatar URL setting and config now it is unused 2019-03-09 20:17:01 +11:00
Michael Gratton
664950ba0a Cleanup attachment save handling
Follow GTK+ reccomendation for (not) setting folder paths in save file
choosers, ensure UTF-8 display names and file system encodings are used
as appropriate, and report errors to the user when they occur.
2018-10-24 21:36:15 +11:00
Michael Gratton
46ffd42ce4 Make avatar loading URL configurable via a GSetting
This lets users switch to using Libravatar, or disable remote avatar
loading completely if desired.
2018-10-07 15:29:08 +11:00
Michael James Gratton
1675f2dc25 Fix copy pasta error in schema description. Bug 792356. 2018-01-09 20:25:37 +11:00
Piotr Drąg
c6481c6f6d Translate GSchema
https://bugzilla.gnome.org/show_bug.cgi?id=771643
2017-11-03 13:05:47 +11:00
Piotr Drąg
42294ba38b Add XML declaration to the GSchema file 2017-11-02 18:57:21 +01:00
Jiri Cerny
c1de366210 Remember size of dettached composer window 2017-10-24 20:38:30 +11:00
Piotr Drąg
339e4b691d gschema: Fix gettext-domain 2017-10-01 18:31:05 +02:00
Michael James Gratton
527399be76 Remember attachments dir and reuse adding/saving attachments and images.
* src/client/application/geary-controller.vala (GearyController): Replace
  use of last_save_directory with new attachments_dir property on the
  configuration object.

* src/client/dialogs/attachment-dialog.vala (AttachmentDialog): Replace
  current_folder with use of last_save_directory with new attachments_dir
  property on the configuration object. Add config object as ctor param
  and object field, update call sites.
2017-02-24 12:06:42 +11:00
Michael James Gratton
7787af3aac Remember print dir and reuse when printing again. Bug 713573.
* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Save config object as a class field, use that to
  get and set the print directory when printing. Also set the default
  print filename based on the email's subject.
2017-02-24 11:49:05 +11:00
Michael James Gratton
f69c461955 Re-enable spell checking in composer.
* src/client/application/geary-config.vala (Configuration): Remove
  spell-check setting, we can just get it from the list of visible
  languages instead. Update the schema.

* src/client/components/client-web-view.vala (WebView::init_web_context):
  Pass in a config object, use that to init WebKit's spell checking on
  the WebContext now that is a global configuration, update it when the
  config changes, update call sites.

* src/client/composer/composer-widget.vala (ComposerWidget): Remove
  WK1-syle spell checking settings prefs.

* src/client/composer/spell-check-popover.vala (SpellCheckPopover): Pass
  a config object in so we don't have to use the global app singleton
  instance.

* src/client/dialogs/preferences-dialog.vala (PreferencesDialog):
  Modernise by converting into a widget template.

* test/client/components/client-web-view-test-case.vala (TestCase):
  Construct a config object as a fixture, use it to init the WebContext
  and make it avalaible to subclasses & update subclasses.

* ui/preferences-dialog.ui: Moved from preferences.dialog, remove spell
  check preference.
2017-02-01 00:41:44 +11:00
Niels De Graef
ec9acc8989 Perform migration for GSettings. Bug 766196. 2016-12-08 12:53:56 +01:00
Niels De Graef
4b5b2ee6e1 Use "org.gnome.Geary" for the app ID. Bug 766196. 2016-12-08 12:53:52 +01:00
Renamed from desktop/org.yorba.geary.gschema.xml (Browse further)