Sophie Herold
06d688e79e
src: Format let-else statements
2023-07-07 19:22:51 +00:00
Sophie Herold
6297dcf54b
cargo: Update dependencies
2023-07-06 20:08:12 +02:00
Martin
8885314208
Update Slovenian translation
2023-07-05 04:55:43 +00:00
Sophie Herold
7f72ff2ccf
meta: Prepare 45.alpha
2023-07-02 14:24:19 +00:00
Christopher Davis
97c9dcde64
help: Write intial help documentation
...
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248 >
2023-07-02 12:43:52 +00:00
Christopher Davis
fb6d852cca
Revert "help-overlay: Remove unused help shortcut"
...
This reverts commit 22874fcc7b .
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248 >
2023-07-02 12:43:52 +00:00
Christopher Davis
9e70931faf
Revert "general: Remove help-related code"
...
This reverts commit 2965799374 .
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/248 >
2023-07-02 12:43:52 +00:00
abu_shawarib
45083720a3
image-page: Align popover after click position
...
Set "halign" proprty of context menu popover to "start"
to appear next to click point. This only works correctly
in RTL after gtk 4.11.3, by gtk@d329b00b
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247 >
2023-07-02 12:13:22 +00:00
abu_shawarib
33b4928c72
Revert "imagePage: Correctly align right-click menu"
...
This reverts commit 0ddecefe01 .
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/247 >
2023-07-02 12:13:22 +00:00
Asier Sarasua Garmendia
982992d9a2
Update Basque translation
2023-07-02 06:56:54 +00:00
Ngọc Quân Trần
2499c3cbcc
Add Vietnamese translation
2023-07-02 01:21:04 +00:00
FineFindus
bc9aff5068
refactor: Use is_some_and
2023-06-26 11:59:17 +00:00
Rafael Fontenelle
1a39751402
Update Brazilian Portuguese translation
2023-06-25 13:44:01 +00:00
Nathan Follens
19be6db7ad
Update Dutch translation
2023-06-25 08:45:59 +00:00
FineFindus
52057aba65
window: Disable trash for non-native files
2023-06-23 19:42:30 +00:00
Christopher Davis
439286be40
general: Use std's OnceCell where possible
...
Rust's standard library now provides a drop-in replacement
for `OnceCell`. It requires no API changes from `once_cell`'s
version.
This commit replaces the version from `once_cell` with the
new `std` struct where possible. We still need to use
`once_cell` for properties until
https://github.com/gtk-rs/gtk-rs-core/pull/1113
is merged. We also still need it for Lazy until that lands.
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/241 >
2023-06-23 18:59:09 +00:00
Huan Thieu Nguyen
ffb2e1064d
window: Toast priority high to push old toast to queue.
2023-06-21 19:13:46 +00:00
Sophie Herold
eb94683d1f
fileChooser: Only list supported image formats
...
Closes #151
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/238 >
2023-06-21 10:03:38 +00:00
Sophie Herold
cc1c8a3da5
image: Use contains in modifier type flag checks
...
This, for example, allows to also pan the image
with Ctrl+Shift+Scroll like in EOG.
Closes #175
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/237 >
2023-06-20 20:42:14 +00:00
Sophie Herold
0c2bdbd736
image: Do not guess bg color for opaque images
...
In theory this feature made sense to see a black square
but in practice it seems mostly confusing.
Closes #186
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/235 >
2023-06-20 20:02:18 +00:00
Sophie Herold
c1422cf728
image: Notify when setting file property
...
This fixes new file names not being shown in HeaderBar
after renames.
2023-06-20 16:54:38 +02:00
Sophie Herold
3dd59c87ed
fileModel: Correct changed checks in file monitor
...
Those got accidentally inverted when moving to GFile.
Close #199
2023-06-20 16:42:51 +02:00
Sophie Herold
2faef84321
image: Also set zoom target when not animating
...
This currently only seems to affect HighRes scrolling
where SVGs are not rendered for the zoom level.
Closes #185
2023-06-20 13:23:21 +00:00
Sophie Herold
ae40ad4249
flatpak: Update to llvm16
2023-06-20 11:54:59 +02:00
Quentin PAGÈS
943ef5f867
Update Occitan translation
2023-06-15 15:46:20 +00:00
Sabri Ünal
b889665c95
Data: Fix Loupe URL
...
Fix out-of-date Loupe URL.
Fixes : #181
2023-06-10 22:35:21 +03:00
Sophie Herold
8d8197dda4
fileModel: Add missing IS_HIDDEN file attribute
2023-06-07 23:47:58 +02:00
Sophie Herold
291fa13d1f
meta: Update copyright headers
2023-06-07 23:44:20 +02:00
Sophie Herold
1b2dde79b6
decoder: Use glycin for image loading expect SVG
...
This gives us sandboxed image decoding and others the
option to extend Loupe with other image formats.
2023-06-07 20:21:28 +00:00
Sergej A
d690c0e2d8
Update Russian translation
2023-06-07 15:05:57 +00:00
Jiri Grönroos
43fa2191f4
Update Finnish translation
2023-06-06 16:00:17 +00:00
Yaron Shahrabani
77b75b6900
Update Hebrew translation
2023-06-01 11:34:47 +00:00
Christopher Davis
6df16aaa71
application: Remove backspace as a trash shortcut
...
Closes https://gitlab.gnome.org/GNOME/Incubator/loupe/-/issues/183
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/229 >
2023-05-31 22:04:33 +00:00
Christopher Davis
77c81c8f7c
window: Use sp instead of px for breakpoints
...
sp is a unit provided by libadwaita for sclae-independent pixels.
This unit changes with the text scale factor.
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228 >
2023-05-31 21:32:40 +00:00
Christopher Davis
a5cb0606b4
window: Remove stack from breakpoint
...
The stack widget is always visible, and does not need to be
set as visible again when the breakpoint is applied/unapplied.
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228 >
2023-05-31 21:32:40 +00:00
Christopher Davis
5297231137
window: Use only one breakpoint
...
AdwBreakpoint automatically resets properties when the breakpoint
conditions no longer apply. This means we don't need to manually
create a breakpoint for the sidebar at widths greater than 590px,
as libadwaita already does that for us.
This commit removes the extra breakpoint.
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228 >
2023-05-31 21:32:40 +00:00
Christopher Davis
4d391b566e
window: Remove extra quotes
...
Some extra quotes were left in the UI file. Thankfully because
these were fully closed, they weren't causing any issues. Still,
they don't need to be there.
This commit removes the extra quotes.
Part-of: <https://gitlab.gnome.org/GNOME/Incubator/loupe/-/merge_requests/228 >
2023-05-31 21:32:40 +00:00
Kukuh Syafaat
40cbf6001b
Update Indonesian translation
2023-05-31 12:30:40 +00:00
Huan Nguyen
735451250c
imageView: Merge set_image_from_file with set_images_from_files
...
Also changing behavior when opening with multiple command line
arguments or when multiple images were selected from other
applications.
Old behavior: Spawn an instance of Loupe for each argument.
New behavior: One Loupe instance containing all arguments.
Closes #195
2023-05-30 12:52:59 +00:00
Piotr Drąg
6dda1eeb50
Update Polish translation
2023-05-28 10:08:54 +00:00
Hugo Carvalho
ea3305fb63
Update Portuguese translation
2023-05-26 21:07:12 +00:00
Danial Behzadi
473e32e8fb
Update Persian translation
2023-05-26 15:19:02 +00:00
Martin
92fb9c0521
Update Slovenian translation
2023-05-26 07:36:21 +00:00
FineFindus
a3a0ccdf52
imageView: Replace magic values with adw::ToastPriority
2023-05-25 10:56:38 +00:00
FineFindus
32be6c8246
imageView: Check set wallpaper response
...
Closes #166
2023-05-24 15:34:52 +00:00
Jürgen Benvenuti
9a940a43ba
Update German translation
2023-05-24 08:35:45 +00:00
Ekaterine Papava
f541457542
Update Georgian translation
2023-05-24 03:37:22 +00:00
Yuri Chornoivan
8d7e9cdd38
Update Ukrainian translation
2023-05-23 19:59:12 +00:00
Huan Thieu Nguyen
c6897da62d
window: Let the user select multiple files to open.
...
Uses code that drag and drop already uses. It's kinda ugly because the
file dialog returns a ListModel.
As an added bonus, since the button responds to the action "win.open",
it will also allow open multiple files with the primary menu.
It would be a good idea to change the "Open…" label in the primary menu though.
Closes #191
2023-05-21 23:41:22 +02:00
Huan Nguyen
8804938859
window: Support forward and back mouse buttons
...
The button value for forward is 9. See <GNOME/gtk#515>.
Closes #172
2023-05-21 16:17:48 +00:00