Use thunar for trash in Xfce
This commit is contained in:
parent
38f2476195
commit
ee8889548a
@ -207,6 +207,9 @@ class pluginclass( object ):
|
|||||||
|
|
||||||
if ( self.showtrash == True ):
|
if ( self.showtrash == True ):
|
||||||
self.trashButton = easyButton( "user-trash", self.iconsize, [_("Trash")], -1, -1 )
|
self.trashButton = easyButton( "user-trash", self.iconsize, [_("Trash")], -1, -1 )
|
||||||
|
if self.de == "xfce":
|
||||||
|
self.trashButton.connect( "clicked", self.ButtonClicked, "thunar trash:" )
|
||||||
|
else:
|
||||||
self.trashButton.connect( "clicked", self.ButtonClicked, "xdg-open trash:" )
|
self.trashButton.connect( "clicked", self.ButtonClicked, "xdg-open trash:" )
|
||||||
self.trashButton.show()
|
self.trashButton.show()
|
||||||
self.trashButton.connect( "button-release-event", self.trashPopup )
|
self.trashButton.connect( "button-release-event", self.trashPopup )
|
||||||
|
Loading…
Reference in New Issue
Block a user