[gnome-shell] Do not reset window zoom when leaving the overview



commit 341b9a80c56c5850198bc8db963d6fc3f670f3e2
Author: Florian Müllner <fmuellner src gnome org>
Date:   Wed Jan 6 02:19:09 2010 +0100

    Do not reset window zoom when leaving the overview
    
    https://bugzilla.gnome.org/show_bug.cgi?id=598319

 js/ui/workspaces.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js
index 39f5ae3..e05c195 100644
--- a/js/ui/workspaces.js
+++ b/js/ui/workspaces.js
@@ -220,7 +220,6 @@ WindowClone.prototype = {
         this._zoomTarget.setPosition(this.actor.x - (this.actor.width - width) / 2, this.actor.y - (this.actor.height - height) / 2);
         this._zoomStep = 0;
 
-        this._hideEventId = Main.overview.connect('hiding', Lang.bind(this, function () { this._zoomEnd(); }));
         this._zoomUpdate();
     },
 
@@ -235,7 +234,6 @@ WindowClone.prototype = {
         [this.actor.scale_x, this.actor.scale_y] = this._zoomLocalOrig.getScale();
 
         this._zoomLightbox.destroy();
-        Main.overview.disconnect(this._hideEventId);
 
         this._zoomLocalPosition  = undefined;
         this._zoomLocalScale     = undefined;



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