Author: benny
Date: 2006-07-28 13:08:34 +0000 (Fri, 28 Jul 2006)
New Revision: 22549
Modified:
thunar/trunk/ChangeLog
thunar/trunk/thunar/thunar-icon-factory.c
Log:
2006-07-28 Benedikt Meurer <[EMAIL PROTECTED]>
* thunar/thunar-icon-factory.c(thunar_icon_factory_load_file_icon): Do
not try to load or generate thumbnails for files in the trash.
Modified: thunar/trunk/ChangeLog
===================================================================
--- thunar/trunk/ChangeLog 2006-07-28 12:59:33 UTC (rev 22548)
+++ thunar/trunk/ChangeLog 2006-07-28 13:08:34 UTC (rev 22549)
@@ -1,5 +1,10 @@
2006-07-28 Benedikt Meurer <[EMAIL PROTECTED]>
+ * thunar/thunar-icon-factory.c(thunar_icon_factory_load_file_icon): Do
+ not try to load or generate thumbnails for files in the trash.
+
+2006-07-28 Benedikt Meurer <[EMAIL PROTECTED]>
+
* thunar/thunar-dbus-service.c, thunar/thunar-tree-model.c: Monitor
the trash bin for changes.
Modified: thunar/trunk/thunar/thunar-icon-factory.c
===================================================================
--- thunar/trunk/thunar/thunar-icon-factory.c 2006-07-28 12:59:33 UTC (rev
22548)
+++ thunar/trunk/thunar/thunar-icon-factory.c 2006-07-28 13:08:34 UTC (rev
22549)
@@ -867,7 +867,7 @@
}
/* check if thumbnails are enabled and we can display a thumbnail for the
item */
- if (G_LIKELY (factory->show_thumbnails && thunar_file_is_regular (file)))
+ if (G_LIKELY (factory->show_thumbnails && thunar_file_is_regular (file) &&
!thunar_file_is_trashed (file)))
{
/* determine the thumbnail state */
thumb_state = thunar_file_get_thumb_state (file);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits