Skip to content

Commit

Permalink
Merge pull request #82 from monsta/dont-hide-on-trash-popup
Browse files Browse the repository at this point in the history
Don't hide mintMenu on "Empty trash" popup
  • Loading branch information
clefebvre committed Apr 2, 2014
2 parents 2cc7f19 + 597c30c commit 38f3cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/linuxmint/mintMenu/plugins/places.py
Expand Up @@ -263,8 +263,8 @@ def trashPopup( self, widget, event ):
trashMenu.append(emptyTrashMenuItem)
trashMenu.show_all()
emptyTrashMenuItem.connect ( "activate", self.emptyTrash, widget )
self.mintMenuWin.stopHiding()
gtk.gtk_menu_popup(hash(trashMenu), None, None, None, None, 3, 0)
self.mintMenuWin.grab()

def emptyTrash( self, menu, widget):
os.system("rm -rf " + home + "/.local/share/Trash/info/*")
Expand Down

0 comments on commit 38f3cc5

Please sign in to comment.