[MessageTray] Show the message tray in the overview
Also, make the summary area always visible when in the overview https://bugzilla.gnome.org/show_bug.cgi?id=609765
This commit is contained in:
parent
e86c821878
commit
77fe0db623
@ -379,13 +379,17 @@ MessageTray.prototype = {
|
||||
this._notificationTimeoutId = 0;
|
||||
|
||||
this.actor.show();
|
||||
Main.chrome.addActor(this.actor, { affectsStruts: false });
|
||||
Main.chrome.addActor(this.actor, { affectsStruts: false,
|
||||
visibleInOverview: true });
|
||||
Main.chrome.trackActor(this._notificationBin, { affectsStruts: false });
|
||||
|
||||
global.connect('screen-size-changed',
|
||||
Lang.bind(this, this._setSizePosition));
|
||||
this._setSizePosition();
|
||||
|
||||
Main.overview.connect('shown', Lang.bind(this, this._updateState));
|
||||
Main.overview.connect('hidden', Lang.bind(this, this._updateState));
|
||||
|
||||
this._sources = {};
|
||||
this._icons = {};
|
||||
},
|
||||
@ -524,7 +528,7 @@ MessageTray.prototype = {
|
||||
}
|
||||
|
||||
// Summary
|
||||
let summarySummoned = this._pointerInSummary;
|
||||
let summarySummoned = this._pointerInSummary || Main.overview.visible;
|
||||
let summaryPinned = this._summaryTimeoutId != 0 || this._pointerInTray || summarySummoned;
|
||||
let notificationsVisible = (this._notificationState == State.SHOWING ||
|
||||
this._notificationState == State.SHOWN);
|
||||
|
Loading…
Reference in New Issue
Block a user