summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Bernard <tbernard@gnome.org>2020-02-14 18:42:21 +0100
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-02-19 10:59:28 +0000
commit27b88c2ce6164583cb64a2825a4664b41faf748a (patch)
treef1f807844763e6b7e7c0e6250c7f0fc872c8e52a
parent2e1dc3da00d86779f4a3d11244d2bb1cc8e75304 (diff)
downloadgnome-control-center-27b88c2ce6164583cb64a2825a4664b41faf748a.tar.gz
Background: change thumbnail size to 154
-rw-r--r--panels/background/bg-source.c2
-rw-r--r--panels/background/cc-background-chooser.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/panels/background/bg-source.c b/panels/background/bg-source.c
index 542e13023..b199257ba 100644
--- a/panels/background/bg-source.c
+++ b/panels/background/bg-source.c
@@ -23,7 +23,7 @@
#include <cairo-gobject.h>
-#define THUMBNAIL_WIDTH 256
+#define THUMBNAIL_WIDTH 154
#define THUMBNAIL_HEIGHT (THUMBNAIL_WIDTH * 3 / 4)
typedef struct
diff --git a/panels/background/cc-background-chooser.c b/panels/background/cc-background-chooser.c
index 1c171cf6b..1b2591b96 100644
--- a/panels/background/cc-background-chooser.c
+++ b/panels/background/cc-background-chooser.c
@@ -346,7 +346,7 @@ cc_background_chooser_select_file (CcBackgroundChooser *self)
gtk_window_set_modal (GTK_WINDOW (filechooser), TRUE);
preview = gtk_image_new ();
- gtk_widget_set_size_request (preview, 256, -1);
+ gtk_widget_set_size_request (preview, 154, -1);
gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (filechooser), preview);
gtk_file_chooser_set_use_preview_label (GTK_FILE_CHOOSER (filechooser), FALSE);
gtk_widget_show (preview);