https://bugzilla.xfce.org/show_bug.cgi?id=15727

--- Comment #14 from alexxcons <[email protected]> ---
Thanks for the patch !

it goes into the right direction .. though if I am not mistaken,  there is
still some detail missing:
Currently only "replace_confirmed", aka THUNAR_JOB_RESPONSE_YES is stored. What
happens if THUNAR_JOB_RESPONSE_NO, aka "skip file" is selected ? Will that
still spawn an extra dialog ?

Could it be that we miss a "if (response == THUNAR_JOB_RESPONSE_YES)" which
removes the node from the list when "skip" is pressed, so that the node is not
considered by the fallback ?
( Or would it be better to store a variable of the type THUNAR_JOB_RESPONSE
instead of the boolean replace_confirmed?

For some reason I do not understand so far, I still fail to reproduce the "copy
and delete" fallback, even if I simplify the "else if " which leads there ...
however I am ok with relying on your testing.

> I feel that the code in thunar-transfer-job.c could be refactored somewhat to 
> reduce the complexity, 
> but I think that would take rather more experience than I have at the moment, 
> so maybe that's an
> idea for the future.
That would be very welcome ! Looking forward to refactoring patches !!  :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to