Fix empty trash popup

This commit is contained in:
Clement Lefebvre 2017-04-28 16:04:01 +01:00
parent 65fb842a81
commit c7a2d83dde

View File

@ -259,6 +259,7 @@ class pluginclass( object ):
trashMenu.show_all()
emptyTrashMenuItem.connect ( "activate", self.emptyTrash, widget )
self.mintMenuWin.stopHiding()
trashMenu.attach_to_widget(widget, None)
trashMenu.popup(None, None, None, None, 3, 0)
def emptyTrash( self, menu, widget):