[gnome-shell] overviewControls: make dash private



commit 8ce3531de83f57aae41bd26a97121e6ef070ca38
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Feb 15 18:26:24 2013 -0500

    overviewControls: make dash private
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693924

 js/ui/overviewControls.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js
index 495731a..dce5ca1 100644
--- a/js/ui/overviewControls.js
+++ b/js/ui/overviewControls.js
@@ -214,16 +214,16 @@ const DashSlider = new Lang.Class({
 
         this.layout.slideDirection = SlideDirection.LEFT;
 
-        this.dash = dash;
+        this._dash = dash;
 
         // SlideLayout reads the actor's expand flags to decide
         // whether to allocate the natural size to its child, or the whole
         // available allocation
-        dash.actor.x_expand = true;
-        dash.actor.y_expand = true;
-        this.actor.add_actor(this.dash.actor);
+        this._dash.actor.x_expand = true;
+        this._dash.actor.y_expand = true;
+        this.actor.add_actor(this._dash.actor);
 
-        this.dash.connect('icon-size-changed', Lang.bind(this, this.updateSlide));
+        this._dash.connect('icon-size-changed', Lang.bind(this, this.updateSlide));
     },
 
     getSlide: function() {


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