Fix empty trash popup
This commit is contained in:
parent
65fb842a81
commit
c7a2d83dde
@ -259,6 +259,7 @@ class pluginclass( object ):
|
|||||||
trashMenu.show_all()
|
trashMenu.show_all()
|
||||||
emptyTrashMenuItem.connect ( "activate", self.emptyTrash, widget )
|
emptyTrashMenuItem.connect ( "activate", self.emptyTrash, widget )
|
||||||
self.mintMenuWin.stopHiding()
|
self.mintMenuWin.stopHiding()
|
||||||
|
trashMenu.attach_to_widget(widget, None)
|
||||||
trashMenu.popup(None, None, None, None, 3, 0)
|
trashMenu.popup(None, None, None, None, 3, 0)
|
||||||
|
|
||||||
def emptyTrash( self, menu, widget):
|
def emptyTrash( self, menu, widget):
|
||||||
|
Loading…
Reference in New Issue
Block a user