summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2024-01-09 03:57:11 -0500
committerLuke from DC <[email protected]>2024-01-17 00:33:59 +0000
commite97582fc1bd7c67f0c3b9505b0bf6fa3847a38ce (patch)
tree8ac31180d7ffd1365890fe35ebddfca9c07486de
parentc58f50f241bc0ae291e5c652311fa47d629fc7d5 (diff)
downloadcaja-e97582fc1bd7c67f0c3b9505b0bf6fa3847a38ce.tar.bz2
caja-e97582fc1bd7c67f0c3b9505b0bf6fa3847a38ce.tar.xz
wayland-background-dialog: Preview images at original aspect ratio
-rw-r--r--src/file-manager/fm-desktop-wayland-bg-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-desktop-wayland-bg-dialog.c b/src/file-manager/fm-desktop-wayland-bg-dialog.c
index bf5103e1..588e9ab0 100644
--- a/src/file-manager/fm-desktop-wayland-bg-dialog.c
+++ b/src/file-manager/fm-desktop-wayland-bg-dialog.c
@@ -130,7 +130,7 @@ update_preview (gboolean starting, GtkWidget *box, const gchar *filename,
GdkPixbuf *pixbuf;
pixbuf = gdk_pixbuf_new_from_file_at_scale (filename, geometry.width / 5,
- geometry.height / 5, FALSE, NULL);
+ geometry.height / 5, TRUE, NULL);
gtk_image_set_from_pixbuf (GTK_IMAGE (preview_image), pixbuf);