Skip to content

Commit

Permalink
Disable thumbnail frame for the 1.8.0 release, since it may have an
Browse files Browse the repository at this point in the history
performance impact. (Bug #14433)
  • Loading branch information
Alexander Schwinn committed Jun 6, 2018
1 parent 51fa8fc commit e859b82
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions thunar/thunar-icon-factory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e859b82

Please sign in to comment.