Previously we used a separator in the middle of the main toolbar and extended the width of the HeaderBar in order to
special case for Ambiance.
Ambiance is no longer the default Ubuntu theme, and sticking
with GNOME design patterns should be prioritized over
special casing with a theme.
Fixes https://gitlab.gnome.org/GNOME/geary/issues/389
Folks recently gained support for the Meson build system, so use that
instead of autotools. This should make the build faster and more
future-proof (since the autotools build might not survive for long).
Clear both new mail and send mail error notifications on activate, since
in the case of the former the new mail will be selected, and in the
case of the latter an error info bar will be displayed in the main
window.
We can't reliably play a sound when issuing a notification, since they
maybe disabled by the desktop. So let the desktop's notification system
handle that. As a result, move sound code to the controller since the
only place it is used now is when sending email.
Move it into the application namespace, give it a slightly more generic
name, move its instance from the controller to the application, and
modernise its source code.
* org.gnome.Geary.service.in: create, and let it be installed by CMake.
* org.gnome.Geary.desktop.in: add `DBusActivatable=true`.
* geary-autostart.desktop.in: use `--gapplication-service` instead of
hidden.
* Change the way arguments are parsed:
* Use the _command-line_ and _handle-local-options_ signals instead
of _local-command-line_.
* Remove the `--hidden` option (replaced by `--gapplication-service`)
* Use VariantDict (which is a little cleaner)
* Don't use global variables in Arg, but set them in
the config instead.
* We can no longer set a global summary due to the new option handling
in GApplication. On IRC, I got the feedback that info like this should
be going into a manpage.
* Since the QUIT-action can now be called without ever activating the
app, make the necessary changes to the `GearyController`:
* `main_window` and `current_conversations` can be null.
* use `pending_mailtos()` for the compose action as well.
* Don't update the UNDO action if we're closing down.
* More instance variables prefixed with this (we're changing the lines
anyway, might as well do it properly).
* `Environment.set_prgname()` is already executed in GApplication.run(),
so no more need for `GearyApplication.PRGNAME`.
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
Go back to using "org.gnome.Geary.desktop" as it was in 0.13. The
appdata spec is very clear that the app ID is not supposed to change and
should be a unique identifier for the app across distributions.
Remove CI test workaround
See merge request GNOME/geary!198
(cherry picked from commit 8654c7ae136d2467f7b5b2e85a436d9039bd64bc)
4fc688de Revert "Work around DB tests always failing on gcc150.osuosl.org CI runner"
6b4b598a Add test runner multiplier to account for slow CI runners