Fix regression from 38f943ef81
In gdm mode there is no activities button, and accessing it causes an exception. https://bugzilla.gnome.org/show_bug.cgi?id=684162
This commit is contained in:
parent
4c82df56e9
commit
633bbd8a9e
@ -1443,7 +1443,8 @@ const MessageTray = new Lang.Class({
|
|||||||
this._grabHelper = new GrabHelper.GrabHelper(this.actor);
|
this._grabHelper = new GrabHelper.GrabHelper(this.actor);
|
||||||
this._grabHelper.addActor(this._summaryBoxPointer.actor);
|
this._grabHelper.addActor(this._summaryBoxPointer.actor);
|
||||||
this._grabHelper.addActor(this.actor);
|
this._grabHelper.addActor(this.actor);
|
||||||
this._grabHelper.addActor(Main.panel.statusArea['activities'].hotCorner.actor);
|
if (Main.panel.statusArea.activities)
|
||||||
|
this._grabHelper.addActor(Main.panel.statusArea.activities.hotCorner.actor);
|
||||||
|
|
||||||
Main.layoutManager.keyboardBox.connect('notify::hover', Lang.bind(this, this._onKeyboardHoverChanged));
|
Main.layoutManager.keyboardBox.connect('notify::hover', Lang.bind(this, this._onKeyboardHoverChanged));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user