Revision: 1749
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1749&view=rev
Author:   nadvornik
Date:     2009-06-17 18:41:10 +0000 (Wed, 17 Jun 2009)

Log Message:
-----------
made file_util_start_editor_from_file consider also sidecars

Modified Paths:
--------------
    trunk/src/utilops.c

Modified: trunk/src/utilops.c
===================================================================
--- trunk/src/utilops.c 2009-06-17 18:19:11 UTC (rev 1748)
+++ trunk/src/utilops.c 2009-06-17 18:41:10 UTC (rev 1749)
@@ -2180,7 +2180,13 @@
        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;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to