[gthumb: 88/129] fixed bug when enabling/disabling thumbnails very fast
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 88/129] fixed bug when enabling/disabling thumbnails very fast
- Date: Wed, 27 Apr 2011 20:57:46 +0000 (UTC)
commit f4204b840dea30c8e83ad139b49787693b8af805
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Apr 25 20:19:02 2011 +0200
fixed bug when enabling/disabling thumbnails very fast
gthumb/gth-file-list.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-file-list.c b/gthumb/gth-file-list.c
index 9a11585..7ddb952 100644
--- a/gthumb/gth-file-list.c
+++ b/gthumb/gth-file-list.c
@@ -1803,6 +1803,11 @@ _gth_file_list_update_next_thumb (GthFileList *file_list)
if (file_list->priv->cancelling)
return;
+ if (! file_list->priv->load_thumbs) {
+ _gth_file_list_thumbs_completed (file_list);
+ return;
+ }
+
file_store = (GthFileStore *) gth_file_view_get_model (GTH_FILE_VIEW (file_list->priv->view));
/* Find first visible undone. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]