[gnome-shell] st-texture-cache: Request large thumbnails



commit e2cb6cc4da77d6c8a3719b7d850d74ad2eff21d0
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Mar 4 03:21:34 2011 +0100

    st-texture-cache: Request large thumbnails
    
    As of commit 34ce17c4b3, search results use large icons, or thumbnails
    when available. To keep the amount of upscaling for the latter as small
    as possible, request a large thumbnail size.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645493

 src/st/st-texture-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index 8b46355..a87f495 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -143,7 +143,7 @@ st_texture_cache_init (StTextureCache *self)
                                                    g_free, cogl_handle_unref);
   self->priv->outstanding_requests = g_hash_table_new_full (g_str_hash, g_str_equal,
                                                             g_free, NULL);
-  self->priv->thumbnails = gnome_desktop_thumbnail_factory_new (GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL);
+  self->priv->thumbnails = gnome_desktop_thumbnail_factory_new (GNOME_DESKTOP_THUMBNAIL_SIZE_LARGE);
 }
 
 static void



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