Use an animation with less motion for navigation through images with
arrow keys and buttons. For skipping multiple images and for using the
touchpad, the animations stay the same.
Closes#245
- Add the `<developer><name>` tag
- Mark the `<developer_name>` as deprecated
- Use appstreamcli to validate appdata
- Remove one of Purism tag to pass appstreamcli validation
This allows to add new pages after clearing without triggering an empty
state in between. This also fixes opening a new image leaving the
fullscreen mode.
Fixes#286
Fix issue in previous commit when having multiple windows.
Steps to reproduce:
- enable properties in window A and window B doesn't have them enabled
- switch an image in window B
- the properties would be shown
Co-authored-by: Sophie Herold <sophie@hemio.de>
Added GSettings support to Loupe. Inspiration was taken from Fractal:
LpApplication will contain `gio::Settings` and all code needing them
will reach them as a singleton by calling `g_application_get_default`.
This design makes the settings dependency less explicit than dependency
injection, but allows for shorter code when new settings will be added
across different parts of the application.
A `show-properties` setting is added for remembaring the image property
sidebar state. It's read by LpWindow when the current page changes, and
saved when toggling the sidebar. When no image is being shown, the
sidebar is always hidden, while the setting remains unchanged. The
sidebar state will be restored when a picture is opened.
Closes#147
[Fenv](https://gitlab.gnome.org/ZanderBrown/fenv/) makes it easier to
build and run flatpak applications from command line. Its artifacts are
put in a .fenv folder, which should be ignored.