[gnome-maps] routeQuery: notify on point added



commit 4fab5b158587b8d9b47121844a3b4b24cb58c365
Author: Jonas Danielsson <jonas danielsson threetimestwo org>
Date:   Thu Oct 16 02:22:49 2014 -0400

    routeQuery: notify on point added
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737775

 src/routeQuery.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/routeQuery.js b/src/routeQuery.js
index f05eff5..71c173a 100644
--- a/src/routeQuery.js
+++ b/src/routeQuery.js
@@ -95,6 +95,7 @@ const RouteQuery = new Lang.Class({
         point.connect('notify::place', (function() {
             this.notify('points');
         }).bind(this));
+        this.notify('points');
         this.emit('point-added', point, index);
 
         return point;


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