From ee8889548a122cb75801b2b238265411da7b318c Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 29 Mar 2011 18:38:10 +0100 Subject: [PATCH] Use thunar for trash in Xfce --- usr/lib/linuxmint/mintMenu/plugins/places.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/places.py b/usr/lib/linuxmint/mintMenu/plugins/places.py index 4e7ddeb..9050333 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/places.py +++ b/usr/lib/linuxmint/mintMenu/plugins/places.py @@ -207,7 +207,10 @@ class pluginclass( object ): if ( self.showtrash == True ): self.trashButton = easyButton( "user-trash", self.iconsize, [_("Trash")], -1, -1 ) - self.trashButton.connect( "clicked", self.ButtonClicked, "xdg-open trash:" ) + if self.de == "xfce": + self.trashButton.connect( "clicked", self.ButtonClicked, "thunar trash:" ) + else: + self.trashButton.connect( "clicked", self.ButtonClicked, "xdg-open trash:" ) self.trashButton.show() self.trashButton.connect( "button-release-event", self.trashPopup ) self.refreshTrash()