From e859b82dfef46eefb3af95f5b632222526c9293e Mon Sep 17 00:00:00 2001
From: Alexander Schwinn <acs82@gmx.de>
Date: Wed, 6 Jun 2018 23:07:48 +0200
Subject: [PATCH] Disable thumbnail frame for the 1.8.0 release, since it may
 have an performance impact. (Bug #14433)

---
 thunar/thunar-icon-factory.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c
index b39f414be..b92435092 100644
--- a/thunar/thunar-icon-factory.c
+++ b/thunar/thunar-icon-factory.c
@@ -443,8 +443,11 @@ thunar_icon_factory_load_from_file (ThunarIconFactory *factory,
       /* check if we want to add a frame to the image (we really don't
        * want to do this for icons displayed in the details view).
        */
-      needs_frame = (strstr (path, G_DIR_SEPARATOR_S ".cache/thumbnails" G_DIR_SEPARATOR_S) != NULL)
-                 && (size >= 32) && thumbnail_needs_frame (pixbuf, width, height);
+      needs_frame = FALSE;
+      /* Disabled for 1.8.0 release, will be made optional later
+       * needs_frame = (strstr (path, G_DIR_SEPARATOR_S ".cache/thumbnails" G_DIR_SEPARATOR_S) != NULL)
+       *         && (size >= 32) && thumbnail_needs_frame (pixbuf, width, height);
+       */
 
       /* be sure to make framed thumbnails fit into the size */
       if (G_LIKELY (needs_frame))
-- 
GitLab