Updating branch refs/heads/master to 988dc1a470af3c85f6c391cebe3391e324d758ac (commit) from 0e35466da2372ff2809a2abcdcf0ec8316dd53d6 (commit)
commit 988dc1a470af3c85f6c391cebe3391e324d758ac Author: Stephan Arts <step...@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); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits