[Xfce4-commits] <ristretto:stephan/gtk3> Update the thumbnail of the first image too.

Stephan Arts noreply at xfce.org
Thu Aug 9 21:44:42 CEST 2012


Updating branch refs/heads/stephan/gtk3
         to 9810df4127a739d0fd8c81894abba3907f8e917a (commit)
       from 5854e8bb2a66b2e63a2e4cf65aecf9d80cb8f109 (commit)

commit 9810df4127a739d0fd8c81894abba3907f8e917a
Author: Stephan Arts <stephan at xfce.org>
Date:   Sat Aug 4 22:55:57 2012 +0200

    Update the thumbnail of the first image too.
    
    _index == 0 for the first image in the image-list, it should also
    receive an update when the thumbnail is ready.

 src/image_list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/image_list.c b/src/image_list.c
index f1289ab..46977b1 100644
--- a/src/image_list.c
+++ b/src/image_list.c
@@ -1718,7 +1718,7 @@ cb_rstto_thumbnailer_ready(
     gint index_;
 
     index_ = g_list_index (image_list->priv->images, file);
-    if (index_ > 0)
+    if (index_ >= 0)
     {
         path_ = gtk_tree_path_new();
         gtk_tree_path_append_index(path_,index_);


More information about the Xfce4-commits mailing list