[gnome-shell/wip/msanchez/620106: 2/2] Prints



commit bd27c54fe8196abdf993614dafa3e01108285fd0
Author: Mario Sanchez Prada <mario endlessm com>
Date:   Thu Nov 30 16:13:03 2017 +0000

    Prints

 js/ui/altTab.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 4cd4f66..a810771 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -654,8 +654,10 @@ var AppSwitcher = new Lang.Class({
         if (this._mouseTimeOutId != 0)
             Mainloop.source_remove(this._mouseTimeOutId);
 
-        for (let i = 0; i < this.icons.length; i++)
+        for (let i = 0; i < this.icons.length; i++) {
+            log("_onDestroy :: this.icons[i].app: " + this.icons[i].app);
             this.icons[i].app.disconnect(this.icons[i]._stateChangedId);
+        }
     },
 
     _setIconSize: function() {
@@ -885,6 +887,7 @@ var ThumbnailList = new Lang.Class({
     },
 
     _removeThumbnail: function(source, clone) {
+        log("_removeThumbnail :: source: " + source);
         for (let i = 0; i < this._clones.length; i++)
             if (this._clones[i] == clone) {
                 this._clones.splice(i, 1);
@@ -901,6 +904,7 @@ var ThumbnailList = new Lang.Class({
     },
 
     _onDestroy: function() {
+        log("_onDestroy :: this._clones.length: " + this._clones.length);
         for (let i = 0; i < this._clones.length; i++) {
             if (this._clones[i].source)
                 this._clones[i].source.disconnect(this._clones[i]._destroyId);


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