[Xfce4-commits] <thunar:jannis/folder-thumbnails> Allow directories to be thumbnailed.

Jannis Pohlmann noreply at xfce.org
Mon Jan 10 00:20:02 CET 2011


Updating branch refs/heads/jannis/folder-thumbnails
         to b81049abfb0c3f04ad6e76c77f71b6a395ffc70a (commit)
       from d9284878d881328fa78725280f0c1f30500553f8 (commit)

commit b81049abfb0c3f04ad6e76c77f71b6a395ffc70a
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon Jan 10 00:17:19 2011 +0100

    Allow directories to be thumbnailed.

 thunar/thunar-icon-factory.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c
index 576329a..d945253 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 at xfce.org>
- * Copyright (c) 2009-2010 Jannis Pohlmann <jannis at xfce.org>
+ * Copyright (c) 2009-2011 Jannis Pohlmann <jannis at 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



More information about the Xfce4-commits mailing list