[gnome-maps] Don't show sidebar until it has something in it



commit 69e77a90851028d6514b474ccdbd38831427a5ec
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon May 27 18:08:49 2013 +0300

    Don't show sidebar until it has something in it

 src/mapView.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index f69bcec..a368e0c 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -64,7 +64,8 @@ const MapView = new Lang.Class({
         this.view.connect('notify::longitude', Lang.bind(this, this._onViewMoved));
 
         this._sidebar = new Sidebar.Sidebar(this);
-        this.view.add_child(this._sidebar.actor);
+        // Don't show sidebar until it has something in it
+        //this.view.add_child(this._sidebar.actor);
 
         this._markerLayer = new Champlain.MarkerLayer();
         this._markerLayer.set_selection_mode(Champlain.SelectionMode.SINGLE);


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