[Xfce4-commits] <ristretto:master> Improve thumbnail-selection procedure
Stephan Arts
noreply at xfce.org
Fri Oct 14 17:28:01 CEST 2011
Updating branch refs/heads/master
to 2a28c5e03ca7a8a22923478c38fc1a6304304361 (commit)
from 21c9243283b893b5c998f3ae7cd72953dde6cb2a (commit)
commit 2a28c5e03ca7a8a22923478c38fc1a6304304361
Author: Stephan Arts <stephan at xfce.org>
Date: Fri Oct 14 17:26:01 2011 +0200
Improve thumbnail-selection procedure
src/thumbnail_bar.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/thumbnail_bar.c b/src/thumbnail_bar.c
index 50ab259..265e95d 100644
--- a/src/thumbnail_bar.c
+++ b/src/thumbnail_bar.c
@@ -939,5 +939,6 @@ static void
cb_rstto_thumbnail_bar_thumbnail_clicked (GtkWidget *thumb, RsttoThumbnailBar *bar)
{
g_return_if_fail (bar->priv->iter);
- rstto_image_list_iter_set_position (bar->priv->iter, g_list_index(bar->priv->thumbs, thumb));
+ RsttoFile *file = rstto_thumbnail_get_file (RSTTO_THUMBNAIL(thumb));
+ rstto_image_list_iter_find_file (bar->priv->iter, file);
}
More information about the Xfce4-commits
mailing list