[Xfce4-commits] <ristretto:master> Add the file to the image-list when opening it from the cli.
Stephan Arts
noreply at xfce.org
Mon Apr 16 18:54:06 CEST 2012
Updating branch refs/heads/master
to 988dc1a470af3c85f6c391cebe3391e324d758ac (commit)
from 0e35466da2372ff2809a2abcdcf0ec8316dd53d6 (commit)
commit 988dc1a470af3c85f6c391cebe3391e324d758ac
Author: Stephan Arts <stephan at xfce.org>
Date: Mon Apr 16 18:02:20 2012 +0200
Add the file to the image-list when opening it from the cli.
src/main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main.c b/src/main.c
index 1f521bd..05a5d8a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -259,6 +259,14 @@ cb_rstto_open_files (RsttoOpenFiles *rof)
/* Open the directory */
rstto_image_list_set_directory (rof->image_list, p_file, NULL);
+ /* This call adds the contents of the
+ * directory asynchronously.
+ */
+ rstto_image_list_add_file (
+ rof->image_list,
+ r_file,
+ NULL);
+
/* Point the iterator to the correct image */
rstto_image_list_iter_find_file (iter, r_file);
More information about the Xfce4-commits
mailing list