nautilus r14022 - in trunk: . libnautilus-private
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14022 - in trunk: . libnautilus-private
- Date: Tue, 1 Apr 2008 18:38:57 +0100 (BST)
Author: mjc
Date: Tue Apr 1 18:38:57 2008
New Revision: 14022
URL: http://svn.gnome.org/viewvc/nautilus?rev=14022&view=rev
Log:
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).
Modified:
trunk/ChangeLog
trunk/libnautilus-private/nautilus-file.c
Modified: trunk/libnautilus-private/nautilus-file.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file.c (original)
+++ trunk/libnautilus-private/nautilus-file.c Tue Apr 1 18:38:57 2008
@@ -3393,6 +3393,7 @@
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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]