[Xfce4-commits] [xfce/thunar] 01/01: Disable thumbnail frame for the 1.8.0 release, since it may have an performance impact. (Bug #14433)
noreply at xfce.org
noreply at xfce.org
Wed Jun 6 23:08:41 CEST 2018
This is an automated email from the git hooks/post-receive script.
a l e x p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit e859b82dfef46eefb3af95f5b632222526c9293e
Author: Alexander Schwinn <acs82 at gmx.de>
Date: Wed Jun 6 23:07:48 2018 +0200
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 b39f414..b924350 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))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list