From 8ce3531de83f57aae41bd26a97121e6ef070ca38 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 15 Feb 2013 18:26:24 -0500 Subject: [PATCH] overviewControls: make dash private https://bugzilla.gnome.org/show_bug.cgi?id=693924 --- js/ui/overviewControls.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index 495731a90..dce5ca1a5 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() {