[gnome-shell/wip/fmuellner/notification-redux: 34/88] messageTray: Some more tray-stuff removed



commit a7c0b390db094d2db4eb28177f1518138aeebe17
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Feb 11 18:28:21 2015 +0100

    messageTray: Some more tray-stuff removed

 js/ui/messageTray.js |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 7ff5e49..8a58963 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1397,10 +1397,7 @@ const MessageTray = new Lang.Class({
 
         this.idleMonitor = Meta.IdleMonitor.get_core();
 
-        Main.layoutManager.connect('keyboard-visible-changed', Lang.bind(this, 
this._onKeyboardVisibleChanged));
-
         this._useLongerNotificationLeftTimeout = false;
-        this._trayLeftTimeoutId = 0;
 
         // pointerInNotification is sort of a misnomer -- it tracks whether
         // a message tray notification should expand. The value is
@@ -1413,13 +1410,10 @@ const MessageTray = new Lang.Class({
         // out non-changing hover notifications in onNotificationHoverChanged.
         this._notificationHovered = false;
 
-        this._keyboardVisible = false;
         this._notificationState = State.HIDDEN;
         this._notificationTimeoutId = 0;
         this._notificationExpandedId = 0;
-        this._desktopCloneState = State.HIDDEN;
         this._notificationRemoved = false;
-        this._reNotifyAfterHideNotification = null;
 
         this.clearableCount = 0;
 
@@ -1637,11 +1631,6 @@ const MessageTray = new Lang.Class({
         }
     },
 
-    _onKeyboardVisibleChanged: function(layoutManager, keyboardVisible) {
-        this._keyboardVisible = keyboardVisible;
-        this._updateState();
-    },
-
     _onStatusChanged: function(status) {
         if (status == GnomeSession.PresenceStatus.BUSY) {
             // remove notification and allow the summary to be closed now


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]