Commit graph

907 commits

Author SHA1 Message Date
Sophie Herold
057ca6a3d0 image/rendering: Use scale instead of scale-factor
`GdkSurface:scale` supports fractional scaling available as
"scale-monitor-framebuffer" on Mutter. Use this value everywhere
instead of the integer scale-factor

Closing #182
2023-12-06 23:39:09 +01:00
Sophie Herold
2ef5032627 Merge branch 'gnome-45' 2023-12-05 23:38:27 +01:00
Sophie Herold
0b7e30af30 image: Fix setting horizontal instead of vertical
Fix horizontal scrollbar sometimes jumping to center while zooming in.
2023-12-05 23:34:11 +01:00
Sophie Herold
9c8d3dc63f image/rendering: Do not config adj in snapshot
This caused warnings and scrollbars to disappear under certain
conditions.
2023-12-05 21:35:03 +01:00
Sophie Herold
d69d0d5e47 image/scrollable: Abstract adjustment access 2023-12-05 21:26:09 +01:00
Sophie Herold
3ab4d82d36 image: Reorganize into several sub-modules 2023-12-05 16:00:46 +01:00
Sophie Herold
cfed1d3d63 image: File doesn't have to be a property anymore 2023-12-04 18:42:21 +01:00
Sophie Herold
33bcd4a7ac imageView: Remove expression for fullscreen icon 2023-12-04 18:22:47 +01:00
Sophie Herold
fceec31971 print: Remove obsolete callback code 2023-12-04 18:08:44 +01:00
Sophie Herold
633e5c0a0d po: Update file list 2023-12-04 18:08:25 +01:00
Sophie Herold
2fdfe5657c image: Refresh file info after file rename 2023-12-04 18:08:25 +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
5b3ad7c257 code: Fix typos 2023-11-30 21:58:26 +01:00
Sophie Herold
3cd96436f3 buildAux: Delete outdated commit-hook 2023-11-30 21:56:00 +01:00
Sophie Herold
0e8c15dd5c Merge branch 'gnome-45' 2023-11-30 21:41:47 +01:00
Daniel Rusek
a353f7bf7e Update Czech translation 2023-11-30 18:34:17 +00:00
Yuri Chornoivan
4f4e790be4 Update Ukrainian translation 2023-11-30 16:50:58 +00:00
Emin Tufan Çetin
a77c07f554 Update Turkish translation 2023-11-30 14:12:58 +00:00
Sophie Herold
307c864c6e window: Copy metadata instead of image if selected 2023-11-30 01:20:13 +01:00
Sophie Herold
92a3496c60 meta: Release 45.2 2023-11-29 21:45:26 +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
7d36c93029 slidingView: Use properties macro 2023-11-29 19:28:27 +01:00
Sophie Herold
4ca7c71538 imagePage: Use properties macro 2023-11-29 19:19:49 +01:00
Sophie Herold
390f16792a imageView: Use properties macro 2023-11-29 19:10:57 +01:00
Sophie Herold
55811a2bb7 image: Use macro for object properties 2023-11-29 18:52:31 +01:00
Sophie Herold
6594b2caf0 Add .editorconfig 2023-11-29 01:51:01 +01:00
Sophie Herold
5bbb75e6f1 css: Remove redundant .property style
Now part of libadwaita
2023-11-29 01:51:01 +01:00
Sophie Herold
d04e5e255b window: Fix icon for property toggle button
Closes #274
2023-11-29 01:51:00 +01:00
Sophie Herold
f3ff2f5cba ui: Reformat .ui-files 2023-11-29 01:51:00 +01:00
Sophie Herold
5a905cd53f ui: Move .ui-files to src/
Closes #46
2023-11-29 01:50:54 +01:00
Sophie Herold
d2ff86f7a5 README: Cleanup outdated installation methods 2023-11-28 21:41:23 +01:00
Sabri Ünal
a8e15d1f23 doc: Remove keyboard shortcuts from Help pages
This information is already accessible through the Keyboard Shortcuts dialog.
Include a sentence directing users to the Keyboard Shortcuts dialog.
2023-11-28 11:58:59 +00:00
Sophie Herold
0a227a0e0e cargo: Update deps fixing yanked version 2023-11-28 12:26:28 +01:00
Bruce Cowan
a6a5706950 Add British English translation 2023-11-27 18:19:18 +00:00
Cheng-Chia Tseng
005112915c Add Chinese (Taiwan) translation 2023-11-27 17:39:50 +00:00
Sophie Herold
77441febf8 cargo: Update dependencies 2023-11-22 13:44:07 +01:00
Julian Hofer
cd8188a1bb Simplify async code
- Update Cargo.lock
- Use new gtk-core API
- Remove unneeded async
- Remove unneeded clones

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/310>
2023-11-22 09:12:36 +01:00
Starccy
8d185e1e10 chore: display original error
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/314>
2023-11-21 20:25:37 +00:00
Sophie Herold
4e28ea1cf6 fileDialog: Pre-select current image's folder
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/287>
2023-11-21 20:00:46 +00:00
Sophie Herold
229c63719e meta: Prepare 45.2 2023-11-21 20:55:03 +01:00
Evangelos Paterakis
081690e997
help-overlay: Switch RTL and LTR gestures 2023-11-17 10:06:31 +02:00
Sophie Herold
a1edf6f882 image: Show image after error in file resolved
LpImage already reloads the image after an image is
invalid because of unsupported format or decoding error.
This patch makes that the "is-loaded" property is changed
to true again after the problem is resolved by a file change.

This should also hopefully works around problems with apps like GIMP
writing files in a way where an error appears itermittently.

Closes #256
2023-11-16 22:59:19 +00:00
Julian Hofer
831cf953c6 Preserve order when removing items from file model
The files are stored in an index map.
When removing from that map, `remove` does not guarantee to preserve order.
However `shift_remove` does.

Fixes #270
2023-11-15 15:25:07 +01:00
Julian Hofer
8ab903fbb9 Add .flatpak-builder to .gitignore
That folder is created by flatpak-vscode
2023-11-15 10:36:04 +00:00