[gnome-photos/wip/rishi/collection: 38/44] base-item: Support	disabling the creation of collection thumbnails
- From: Debarshi Ray <debarshir src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-photos/wip/rishi/collection: 38/44] base-item: Support	disabling the creation of collection thumbnails
 
- Date: Mon, 29 Jan 2018 21:31:17 +0000 (UTC)
 
commit 3fc0add36bd522257154ea58c95a1d33078b49db
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jan 24 20:01:45 2018 +0100
    base-item: Support disabling the creation of collection thumbnails
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751212
 src/photos-base-item.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index d489f622..89ba642f 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -2616,15 +2616,15 @@ photos_base_item_refresh_icon (PhotosBaseItem *self)
 
   photos_base_item_set_thumbnailing_icon (self);
 
+  if (priv->failed_thumbnailing)
+    return;
+
   if (priv->collection)
     {
       photos_base_item_refresh_collection_icon (self);
       return;
     }
 
-  if (priv->failed_thumbnailing)
-    return;
-
   file = g_file_new_for_uri (priv->uri);
   photos_utils_file_query_info_async (file,
                                       G_FILE_ATTRIBUTE_THUMBNAIL_PATH,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]