# HG changeset patch # User nadvornik # Date 1245264070 0 # Node ID 5d66965165f24d1928198973475c67b42a4a812c # Parent 704ab52b3ac5cebe4ab62a7c2c84682a8d0ea30d made file_util_start_editor_from_file consider also sidecars diff -r 704ab52b3ac5 -r 5d66965165f2 src/utilops.c --- a/src/utilops.c Wed Jun 17 18:19:11 2009 +0000 +++ b/src/utilops.c Wed Jun 17 18:41:10 2009 +0000 @@ -2136,7 +2136,13 @@ GList *flist = filelist_copy(source_list); if (source_fd) + { + /* flist is most probably NULL + operate on source_fd and it's sidecars + */ + flist = g_list_concat(filelist_copy(source_fd->sidecar_files), flist); flist = g_list_append(flist, file_data_ref(source_fd)); + } if (!flist) return;