Use thunar for trash in Xfce

This commit is contained in:
Clement Lefebvre 2011-03-29 18:38:10 +01:00
parent 38f2476195
commit ee8889548a

View File

@ -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()