[gnome-maps/wip/templates: 15/16] Sidebar: Fix a bug with the templating
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/templates: 15/16] Sidebar: Fix a bug with the templating
- Date: Thu, 20 Nov 2014 15:30:57 +0000 (UTC)
commit 39af4963aeb9d185bd13e9d5834d8bf2310c698f
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Thu Nov 20 16:27:51 2014 +0100
Sidebar: Fix a bug with the templating
Squash this with original later
src/sidebar.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/sidebar.js b/src/sidebar.js
index e605ae3..26ac719 100644
--- a/src/sidebar.js
+++ b/src/sidebar.js
@@ -189,7 +189,7 @@ const Sidebar = new Lang.Class({
route.connect('reset', (function() {
this._clearInstructions();
- this._instructionStack.visible_child = this._instructionWindow;
+ this._instructionStack.visible_child = this._instructionListScrolled;
this._viaGridContainer.get_children().forEach((function(row) {
query.removePoint(row.get_index() + 1);
}).bind(this));
@@ -204,7 +204,7 @@ const Sidebar = new Lang.Class({
route.connect('update', (function() {
this._clearInstructions();
- this._instructionStack.visible_child = this._instructionWindow;
+ this._instructionStack.visible_child = this._instructionListScrolled;
route.turnPoints.forEach((function(turnPoint) {
let row = new InstructionRow({ visible: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]