[gnome-shell] workspaceSwitcherPopover: Remove pointless timeout



commit 1095489cee1b7e7d19d68e796a0b9b76127f5e27
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jul 22 01:08:44 2017 +0200

    workspaceSwitcherPopover: Remove pointless timeout
    
    Ever since commit a4e53953, the popup has been hidden initially, so
    there's little point in setting up a timeout handler to hide it ...

 js/ui/workspaceSwitcherPopup.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js
index b67e5be..9ddd364 100644
--- a/js/ui/workspaceSwitcherPopup.js
+++ b/js/ui/workspaceSwitcherPopup.js
@@ -49,9 +49,6 @@ var WorkspaceSwitcherPopup = new Lang.Class({
         this._globalSignals = [];
         this._globalSignals.push(global.screen.connect('workspace-added', Lang.bind(this, this._redisplay)));
         this._globalSignals.push(global.screen.connect('workspace-removed', Lang.bind(this, 
this._redisplay)));
-
-        this._timeoutId = Mainloop.timeout_add(DISPLAY_TIMEOUT, Lang.bind(this, this._onTimeout));
-        GLib.Source.set_name_by_id(this._timeoutId, '[gnome-shell] this._onTimeout');
     },
 
     _getPreferredHeight : function (actor, forWidth, alloc) {


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