[gnome-documents] utils: create large resolution thumbnails



commit b3debb9bfd49967b92f6b17c093f6e1ca486e190
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Aug 6 15:35:31 2013 +0200

    utils: create large resolution thumbnails
    
    This is needed for HiDpi support.

 src/lib/gd-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/gd-utils.c b/src/lib/gd-utils.c
index 7d1ba82..b4d42ce 100644
--- a/src/lib/gd-utils.c
+++ b/src/lib/gd-utils.c
@@ -61,7 +61,7 @@ create_thumbnail (GIOSchedulerJob *job,
 
   mtime = g_file_info_get_attribute_uint64 (info, G_FILE_ATTRIBUTE_TIME_MODIFIED);
 
-  factory = gnome_desktop_thumbnail_factory_new (GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL);
+  factory = gnome_desktop_thumbnail_factory_new (GNOME_DESKTOP_THUMBNAIL_SIZE_LARGE);
   pixbuf = gnome_desktop_thumbnail_factory_generate_thumbnail
     (factory, 
      uri, g_file_info_get_content_type (info));


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