messageTray: Force the tray closed when exiting the overview

This commit is contained in:
Jasper St. Pierre 2012-08-19 20:47:52 -04:00
parent eebab34b62
commit 7e2bab48c9

View File

@ -1443,6 +1443,7 @@ const MessageTray = new Lang.Class({
Main.overview.connect('hiding', Lang.bind(this, Main.overview.connect('hiding', Lang.bind(this,
function() { function() {
this._overviewVisible = false; this._overviewVisible = false;
this._escapeTray();
this.actor.remove_style_pseudo_class('overview'); this.actor.remove_style_pseudo_class('overview');
this._updateState(); this._updateState();
})); }));