Commit e5085870 authored by Michael J. Chudobiak's avatar Michael J. Chudobiak Committed by Michael J. Chudobiak
Browse files

Skip the thumbnailing of unreadable files. This is more efficient than

2008-04-01  Michael J. Chudobiak  <mjc@svn.gnome.org>

        * libnautilus-private/nautilus-file.c: (nautilus_file_get_icon):
        Skip the thumbnailing of unreadable files. This is more efficient
        than relying on failed thumbnails. (#525594).


svn path=/trunk/; revision=14022
parent 9342c13d
2008-04-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* libnautilus-private/nautilus-file.c: (nautilus_file_get_icon):
Skip the thumbnailing of unreadable files. This is more efficient
than relying on failed thumbnails. (#525594).
2008-04-01 A. Walton <awalton@svn.gnome.org>
reviewed by: Cosimo Cecchi
......
......@@ -3393,6 +3393,7 @@ nautilus_file_get_icon (NautilusFile *file,
g_object_unref (scaled_pixbuf);
return icon;
} else if (file->details->thumbnail_path == NULL &&
file->details->can_read &&
!file->details->thumbnailing_failed &&
!file->details->is_thumbnailing) {
if (nautilus_can_thumbnail (file)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment