summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2011-01-10 00:17:19 +0100
committerJannis Pohlmann <jannis@xfce.org>2011-01-10 00:17:19 +0100
commitb81049abfb0c3f04ad6e76c77f71b6a395ffc70a (patch)
tree3d80a67f7ce2a893d2613a074a6882133d31d1b9
parentd9284878d881328fa78725280f0c1f30500553f8 (diff)
downloadthunar-jannis/folder-thumbnails.tar.gz
Allow directories to be thumbnailed.jannis/folder-thumbnails
-rw-r--r--thunar/thunar-icon-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c
index 576329a4..d9452536 100644
--- a/thunar/thunar-icon-factory.c
+++ b/thunar/thunar-icon-factory.c
@@ -1,7 +1,7 @@
/* $Id$ */
/*-
* Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
- * Copyright (c) 2009-2010 Jannis Pohlmann <jannis@xfce.org>
+ * Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
@@ -828,7 +828,7 @@ thunar_icon_factory_load_file_icon (ThunarIconFactory *factory,
}
/* 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))
{
/* this is how thumbnails for files are loaded: first, we check the thumbnail
* state. If that is unknown, we request a thumbnail to be generated in the