[Xfce4-commits] <ristretto:master> Make sure the iterator points to a file when a few files are opened.
Stephan Arts
noreply at xfce.org
Sun Nov 13 23:18:08 CET 2011
Updating branch refs/heads/master
to 3e660107ad30b12a2b5262e6f78f042517eccdc4 (commit)
from 91ac881276b68c2e50874c2c0d7de01fee443913 (commit)
commit 3e660107ad30b12a2b5262e6f78f042517eccdc4
Author: Stephan Arts <stephan at xfce.org>
Date: Sat Nov 12 08:53:47 2011 +0100
Make sure the iterator points to a file when a few files are opened.
src/main_window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index 9e971fe..49c212c 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -2541,6 +2541,9 @@ cb_rstto_main_window_open_image (GtkWidget *widget, RsttoMainWindow *window)
_files_iter = g_slist_next (_files_iter);
}
+ rstto_image_list_iter_set_position (
+ window->priv->iter,
+ 0);
}
else
{
More information about the Xfce4-commits
mailing list