Sophie Herold
0012d807e3
window: Move to window_image for editing separation
2024-12-22 20:26:53 +01:00
Sophie Herold
f6b7ae7567
meson: Don't mangle profile and app id suffix
2024-09-27 21:22:52 +02:00
Sophie Herold
0b4c69459f
ui: Non-circular overlays and less buttons
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/450 >
2024-09-16 16:01:50 +02:00
Sophie Herold
8ddaf34e87
window: Prefer wide window over properties overlay
2024-08-05 23:37:10 +02:00
Sophie Herold
f75e64f73b
window: Disable more actions if error is shown
...
Many operations don't make sense while an image is loading or can't be
shown like zoom or print. In these cases the actions should now be
disabled.
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/440 >
2024-07-30 18:24:53 +00:00
Sophie Herold
053aa5da7e
window: Add reload button and F5 shortcut
...
Reloading makes sense for out of memory situations or filesystems that
don't support inotify.
2024-07-29 15:53:40 +02:00
Sophie Herold
f5cd2b822e
windowContent: Remove unneeded template child
2024-07-19 15:09:45 +02:00
Sophie Herold
6070939382
window: Let is_showing_image return false on error
2024-07-19 15:02:29 +02:00
Sophie Herold
cd72a30d5f
windowContents: Rename from fullscreenWidget
...
Also change some naming, comments, and bindings.
2024-07-19 14:31:36 +02:00
Christopher Davis
230ffd5c77
general: Add fullscreen widget
2024-07-18 17:25:09 -04:00
Sophie Herold
0811a14198
cargo: Update glycin
2024-07-18 01:51:51 +02:00
Sophie Herold
0b33553144
util/gettext: Parse unicode escape sequences
...
Closes #351
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/426 >
2024-07-17 19:33:52 +02:00
Fina Wilke
5956aa6460
code: clone macro: Use convenience attributes instead of upgrade_or_else
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/412 >
2024-07-02 22:54:24 +00:00
Sophie Herold
798f2584ee
code: Update copyright headers
2024-06-28 23:00:14 +02:00
Sophie Herold
e9dc3d810c
code: Use new glib::clone! syntax
2024-06-18 00:37:38 +02:00
Sophie Herold
4650e6766a
cargo: Update to gtk4-rs 0.9 and core 0.20
2024-06-14 17:46:33 +02:00
DaPigGuy
dfd74b060f
window: Port delete confirmation to AdwAlertDialog
2024-06-11 23:32:45 -07:00
Sophie Herold
db1bb785e1
meta: Update copyright info
2024-05-09 23:27:45 +02:00
Sophie Herold
57d8bba071
window: Use shortcuts instead of accels
...
Application level accels will also work if AdwDialogs are open.
Therefore, use shortcuts wherever possible.
2024-05-09 23:12:20 +02:00
Sophie Herold
5295c63b91
data: Update changelog
2024-04-03 01:41:21 +02:00
James Frost
a89279d556
window: Don't animate mouse fwd/back button
...
The forward and back buttons often found on the side of mice are binary
inputs in the same way keyboard keys are. After the change in !373 where
key presses where made instantaneous the mouse buttons have been
inconsistent. This change rectifies that.
Fixes #340
2024-03-28 21:21:22 +00:00
Sophie Herold
006d3dc5b4
cargo: Update to glycin 1.0.beta.2
2024-02-22 20:55:38 +00:00
Sophie Herold
0dc71357f1
window: Add permanently delete shortcut
...
Permanently delete images with Shift + Delete like in Files. Adding this
since EOG supported it as well.
Closes #323
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/369 >
2024-02-09 22:53:59 +00:00
Sophie Herold
ea5f4f447b
window: Use VariantTy constants
2024-02-08 21:19:09 +01:00
Sophie Herold
0ed7036098
cargo: Update gtk-rs stack
2024-02-08 21:19:05 +01:00
Sophie Herold
6958f427bd
application: Shortcuts for non-animated next/prev
...
Don't animate switching between images for Alt+Arrow.
Closes #45
2024-01-31 23:34:25 +01:00
Sophie Herold
0e44037239
ImageView: Reliably show image restored from trash
...
Closes #316
2024-01-28 20:57:19 +00:00
Sophie Herold
67513dc3f5
window: Stop adding svg mime manually
...
This was from way back when glycin didn't support SVGs yet.
2024-01-28 20:57:19 +00:00
Sophie Herold
171077ffc7
window: Resize to natural on map
...
Only at this point we can be certain about the screen info like size an
scaling factor.
2024-01-19 15:47:16 +00:00
Sophie Herold
446ae5063a
window: Limit HeaderBar to min width as nat width
...
Before we were doing the same with just the title in the HeaderBar. This
gave problems with correctly measuring for ADW_CENTERING_POLICY_LOOSE.
2024-01-09 20:12:02 +01:00
Sophie Herold
b1d1d547cf
image/zoom: Force zoom to center for buttons
...
Before, using buttons on touchscreen could zoom to the cursor position.
2024-01-04 14:37:11 +01:00
Sophie Herold
fe43bc3a4c
metadata: Centralize many loose ends
2024-01-01 22:43:30 +01:00
Sophie Herold
4a7ef27853
window: Move overlay controlling to own module
2023-12-22 22:52:43 +01:00
Sophie Herold
d185973815
windowTitle: Add custom window title widget
...
Fixes #202
2023-12-20 19:28:22 +00:00
Sophie Herold
127986a8ea
window: Don't reset timeout on changing images
...
Issue #288
2023-12-19 15:25:15 +01:00
Sophie Herold
2648295a18
code: Reformat with group_imports=StdExternalCrate
2023-12-07 20:33:19 +01:00
Matteo Nardi
81c9030288
window: fix show-properties setting bug
...
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>
2023-12-07 15:25:26 +00:00
Matteo Nardi
5e32cfa1df
window: remember image property visibility state
...
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
2023-12-07 15:25:26 +00:00
Sophie Herold
33bcd4a7ac
imageView: Remove expression for fullscreen icon
2023-12-04 18:22:47 +01:00
Sophie Herold
c0f435386d
metadata: Move file info and format to metadata
2023-12-04 18:08:25 +01:00
Sophie Herold
c36e7f4eb6
code: Replace many uses of GtkExpressions
...
Closes #276 , #100
2023-12-04 18:08:20 +01:00
Sophie Herold
50450ad359
window: Simplify action state code
2023-11-30 22:32:29 +01:00
Sophie Herold
30742f4da4
window: Rename queue_hide to schedule_hide
2023-11-30 22:27:21 +01:00
Sophie Herold
a2e2cb2336
window: Use generated connection functions
2023-11-30 22:23:05 +01:00
Sophie Herold
6c58f4cabd
window: Don't use expression for title
2023-11-30 22:20:57 +01:00
Sophie Herold
307c864c6e
window: Copy metadata instead of image if selected
2023-11-30 01:20:13 +01:00
Sophie Herold
b56d650086
code: Reformat with new rules
2023-11-29 21:16:11 +01:00
Sophie Herold
4b510412e1
window: Fix title not changed when no image shown
...
Closes #279
2023-11-29 20:15:42 +01:00
Sophie Herold
55811a2bb7
image: Use macro for object properties
2023-11-29 18:52:31 +01:00
Sophie Herold
5a905cd53f
ui: Move .ui-files to src/
...
Closes #46
2023-11-29 01:50:54 +01:00