[gnome-maps] ContextMenu: use geoclue global service



commit 84a2310325b9d2b526cdcc59fa1128a177137968
Author: Damián Nohales <damiannohales gmail com>
Date:   Mon Jun 23 15:21:04 2014 -0300

    ContextMenu: use geoclue global service
    
    This should have been done when geoclue was moved as an application
    global service at commit 25c0ec4 but forgotten.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732121

 src/contextMenu.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contextMenu.js b/src/contextMenu.js
index 78c6797..f0f8397 100644
--- a/src/contextMenu.js
+++ b/src/contextMenu.js
@@ -77,7 +77,7 @@ const ContextMenu = new Lang.Class({
                                               description: "" });
         this._reverseGeocode(location, (function(place) {
             location.description = place.name;
-            this._mapView.geoclue.overrideLocation(location);
+            Application.geoclue.overrideLocation(location);
         }).bind(this));
     },
 


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