panel: drop dead code
The _userMenu variable never gets initialized anymore, so remove some code that only gets run when it's defined. https://bugzilla.gnome.org/show_bug.cgi?id=651299
This commit is contained in:
parent
a94a62764d
commit
33718ef7a5
@ -1054,11 +1054,6 @@ Panel.prototype = {
|
||||
let indicator = new constructor();
|
||||
this.addToStatusArea(role, indicator, i);
|
||||
}
|
||||
|
||||
// PopupMenuManager depends on menus being added in order for
|
||||
// keyboard navigation
|
||||
if (this._userMenu)
|
||||
this._menus.addMenu(this._userMenu.menu);
|
||||
},
|
||||
|
||||
_insertStatusItem: function(actor, position) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user