Background: change thumbnail size to 154
This commit is contained in:
parent
2e1dc3da00
commit
27b88c2ce6
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue