diff --git a/js/ui/panel.js b/js/ui/panel.js index 06d430056..a06cc92b5 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -1126,7 +1126,8 @@ const Panel = new Lang.Class({ if (!position) position = 0; this._insertStatusItem(indicator.actor, position); - this._menus.addMenu(indicator.menu); + if (indicator.menu) + this._menus.addMenu(indicator.menu); this._statusArea[role] = indicator; let destroyId = indicator.connect('destroy', Lang.bind(this, function(emitter) {