Le 16/01/2011 19:17, Colin Clark a écrit :
> Hi
>
Hi Colin,
> File copy and file move operations in GQview showed a thumbnail of a
> target file if there was going to be a conflict during the operation.
> I found this very useful.
>
Me too. Interesting patch.
> I have attached a patch to utilops.c that shows thumbnails when there
> is a conflict, and also allows files to be renamed during the operation.
>
> This seems to be ok for copy, but not for move. The problem is in
> generic_dialog_image_set where I try to create a FileData structure to
> an existing target file. A hit in file_data_planned_change_hash in
> file_data_new results in the FileData structure of the source file
> being modified and returned.
>
> I was unable to find function that uses that piece of code, and the
> second patch I have attached comments it out. After applying that
> patch the move operation then seems to be ok.
>
> I would greatly appreciate it if someone could let me know :-
>
> what is the section of code at line 405 in filedata.c used for?
>
Some info in following commits:
https://github.com/zas/geeqie_zas/commit/a3c139eafad2246f8bde6cef391def6ab4670127
https://github.com/zas/geeqie_zas/commit/9f2b4b649b703a20350e1962684fe4422d4d39a8

> and, if it used,
>
> how should I create a FileData structure to an existing file during a
> move operation?
>
>
Let's hope Vladimir is reading... ;)

--
Zas


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to