[Xfce4-commits] <thunar:nick/1.8> Add option to only generate thumbs in $HOME.

Nick Schermer noreply at xfce.org
Sun Aug 4 21:52:15 CEST 2013


Updating branch refs/heads/nick/1.8
         to d1bf6c50d33b00991f55e9b490655346167a0c5a (commit)
       from 5d598691b5b2331f09f593801e6c118d3a642d68 (commit)

commit d1bf6c50d33b00991f55e9b490655346167a0c5a
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Aug 4 00:51:02 2013 +0200

    Add option to only generate thumbs in $HOME.
    
    Also improve the check a bit. The G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW
    value is for most users noncens, so drop this.

 thunar/thunar-icon-factory.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c
index 62aefdd..e5d3176 100644
--- a/thunar/thunar-icon-factory.c
+++ b/thunar/thunar-icon-factory.c
@@ -194,6 +194,7 @@ thunar_icon_factory_init (ThunarIconFactory *factory)
   GFile *home_file;
 
   factory->thumbnail_mode = THUNAR_THUMBNAIL_MODE_ONLY_LOCAL;
+  factory->home_file = thunar_g_file_new_for_home ();
 
   home_file = thunar_g_file_new_for_home ();
   factory->home_file = thunar_file_get (home_file, NULL);


More information about the Xfce4-commits mailing list