messageTray: Re-add the hotcorner when the panel is updated

The activities button may come and go at any moment now that we
have a dynamic panel. We need to re-check the activities button
whenever the panel is updated.

https://bugzilla.gnome.org/show_bug.cgi?id=694038
This commit is contained in:
Jasper St. Pierre
2013-02-16 23:28:29 -05:00
parent df9b0c548e
commit b53d1df4df
2 changed files with 10 additions and 2 deletions

View File

@@ -131,6 +131,9 @@ function start() {
screenShield = new ScreenShield.ScreenShield();
else
screenShield = new ScreenShield.ScreenShieldFallback();
// The message tray relies on being constructed
// after the panel.
panel = new Panel.Panel();
messageTray = new MessageTray.MessageTray();
keyboard = new Keyboard.Keyboard();