diff options
author | Stefano Karapetsas <[email protected]> | 2013-02-20 20:30:05 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-02-20 20:30:05 +0100 |
commit | 1a6f28cce679b4758f990aa16b1b31283735de6b (patch) | |
tree | 9c5211e599596bfbf73563b1d8bdc1a51f08a693 /libmate-desktop | |
parent | c9a30d360372450b0db703b729bdc899a0f7c67a (diff) | |
download | mate-desktop-1a6f28cce679b4758f990aa16b1b31283735de6b.tar.bz2 mate-desktop-1a6f28cce679b4758f990aa16b1b31283735de6b.tar.xz |
Don't thumbnail thumbnails in .cache/thumbnails
Diffstat (limited to 'libmate-desktop')
-rw-r--r-- | libmate-desktop/mate-desktop-thumbnail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmate-desktop/mate-desktop-thumbnail.c b/libmate-desktop/mate-desktop-thumbnail.c index a2c9b7b..45b29a1 100644 --- a/libmate-desktop/mate-desktop-thumbnail.c +++ b/libmate-desktop/mate-desktop-thumbnail.c @@ -1096,7 +1096,8 @@ mate_desktop_thumbnail_factory_can_thumbnail (MateDesktopThumbnailFactory *facto /* Don't thumbnail thumbnails */ if (uri && strncmp (uri, "file:/", 6) == 0 && - strstr (uri, "/.thumbnails/") != NULL) + (strstr (uri, "/.thumbnails/") != NULL || + strstr (uri, "/.cache/thumbnails/") != NULL)) return FALSE; if (!mime_type) |