[gnome-shell] workspaceSwitcher: Initially hide after creation



commit a4e53953a98bf2064b5b0e0ca661841a3c5daef6
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Wed Feb 9 23:57:23 2011 +0100

    workspaceSwitcher: Initially hide after creation
    
    The default state of the switcher is constructed but not visible,
    so create it that way.
    
    This fixes a bug where if we created the switcher but didn't show it
    or use it we'd end up with an empty, odd looking switcher.

 js/ui/workspaceSwitcherPopup.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js
index ab18933..79e5db9 100644
--- a/js/ui/workspaceSwitcherPopup.js
+++ b/js/ui/workspaceSwitcherPopup.js
@@ -49,7 +49,8 @@ WorkspaceSwitcherPopup.prototype = {
 
         this._position();
 
-        this.actor.show();
+        this.actor.hide();
+
         this._timeoutId = Mainloop.timeout_add(DISPLAY_TIMEOUT, Lang.bind(this, this._onTimeout));
     },
 



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