[gthumb] fixed loading of thumbnails after re-enabling thumbnails again



commit 5bf055be042d083e8887d6a2a9a4e91eca356a34
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun May 13 19:38:45 2012 +0200

    fixed loading of thumbnails after re-enabling thumbnails again

 gthumb/gth-file-list.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-file-list.c b/gthumb/gth-file-list.c
index 1666dbe..deae088 100644
--- a/gthumb/gth-file-list.c
+++ b/gthumb/gth-file-list.c
@@ -1251,6 +1251,8 @@ gfl_enable_thumbs (GthFileList *file_list,
 		gth_file_store_exec_set (file_store);
 	}
 
+	if (enable)
+		file_list->priv->thumbnailer_state.phase = THUMBNAILER_PHASE_INITIALIZE;
 	start_update_next_thumb (file_list);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]