diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 89f56e71d..de8de1eca 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -678,6 +678,7 @@ PopupMenuManager.prototype = { menu: menu, openStateChangeId: menu.connect('open-state-changed', Lang.bind(this, this._onMenuOpenState)), activateId: menu.connect('activate', Lang.bind(this, this._onMenuActivated)), + destroyId: menu.connect('destroy', Lang.bind(this, this._onMenuDestroy)), enterId: 0, buttonPressId: 0 };