panel: Update .solid style on session mode changes

The .solid style isn't supposed to apply for modes that don't support
windows, but for this to work we have to update the style on session
mode changes.

https://bugzilla.gnome.org/show_bug.cgi?id=783202
This commit is contained in:
Florian Müllner 2017-05-29 17:20:36 +02:00
parent 19d0169de4
commit e02d6e5285

View File

@ -1015,6 +1015,8 @@ const Panel = new Lang.Class({
else
Main.messageTray.bannerAlignment = Clutter.ActorAlign.CENTER;
this._updateSolidStyle();
if (this._sessionStyle)
this._removeStyleClassName(this._sessionStyle);