[gnome-control-center] Background: change thumbnail size to 154



commit 27b88c2ce6164583cb64a2825a4664b41faf748a
Author: Tobias Bernard <tbernard gnome org>
Date:   Fri Feb 14 18:42:21 2020 +0100

    Background: change thumbnail size to 154

 panels/background/bg-source.c             | 2 +-
 panels/background/cc-background-chooser.c | 2 +-
 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]