implement MoveFileOrDirectoryToTrash on Linux#304
implement MoveFileOrDirectoryToTrash on Linux#304jasonsanjose merged 1 commit intoadobe:masterfrom eyelash:linux-delete-trash
Conversation
|
I like the idea of using |
|
Linking to #284. Reviewing both. |
|
Looks good and tested on Ubuntu 13 64-bit after merging with master locally. If I understand my libraries right...GIO is part of GLib. Since we require this in our debian package control file as a dependency, and presumably will require it for other distributions (Fedora is probably next), this should work across distributions right? @eyelash it doesn't matter much currently since we don't have support for other distros yet. If you happen to know if this works on Fedora, just leave a note here. Merging. |
implement MoveFileOrDirectoryToTrash on Linux
|
GTK+ depends on GLib so every distribution that has GTK+ also has GLib. I don't use fedora but I'm quite sure this solution works for most of the distributions. |
|
Great. Thanks @eyelash. Also, thanks for signing the CLA. |
implement MoveFileOrDirectoryToTrash on Linux
I tested (on Ubuntu 13.10):
both worked