[Xfce4-commits] <ristretto:ristretto-0.6> Update the thumbnail of the first image too.
Stephan Arts
noreply at xfce.org
Sat Aug 4 23:00:05 CEST 2012
Updating branch refs/heads/ristretto-0.6
to e1b3ab7877ab0e25d12d94a021760db43763aef2 (commit)
from eed11f083cf41bd016146a600cdb89555949c2bd (commit)
commit e1b3ab7877ab0e25d12d94a021760db43763aef2
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