[Thunar-dev] Enhancement with trash [with PATCH, now conforming to Thunar/trunk/HACKING]

Marcos bugshideout at yahoo.com
Sat Dec 9 12:00:26 CET 2006


As I mentioned earlier, I wrote a patch which allows the user remove files directly, instead of
sending the to the Trash


On the other hand, I just realized my patch does not conform to the standards expected on
Thunar/trunk/HACKING. 

This new patch
a) also adds a Changelog entry
b) was created with diff -ur , instead of just diff


as a colateral effect, it will might give a warning/error on older Thunar (0.5rc2) versions
because of the changelog will not be the same  entry. 


Benny, sorry for not doing the right way on first place. It won't happen again.


Marcos Diez
---------------------------------------------
Hello Everybody.

Like many here, I do believe not like the Trash can and would be happyer if I could just push
'del' to have my files removed from my system.


Since Thunar is really modular and well designed, I was able to do write a patch for it in only a
few hours.

my patch

a) adds a new option in the advanced tab called "Move items to trash on delete", which is on by
default
b) when the user tries to delete a file, if the box is checked, it deletes the file
autodmatically, still showing the confirmation dialog, but without sending it to the Trash

I hope you enjoy it!
ps: it was tested on Thunar-0.5.1svn-r24061
Marcos Diez


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Thunar-0.5.1svn-r24061-Ability_to_disable_trash.patch
Type: text/x-patch
Size: 5335 bytes
Desc: 4028963287-Thunar-0.5.1svn-r24061-Ability_to_disable_trash.patch
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20061209/a3ee83b5/attachment.bin>


More information about the Thunar-dev mailing list