[gnome-maps] mapView: Rename showSearchResult to showPlace
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapView: Rename showSearchResult to showPlace
- Date: Wed, 3 Feb 2016 19:32:25 +0000 (UTC)
commit 700512fbcfbc03382b926a99ad65f2b5e9424a1f
Author: Alaf Azam <alafazam gmail com>
Date: Mon Feb 1 00:27:55 2016 +0530
mapView: Rename showSearchResult to showPlace
https://bugzilla.gnome.org/show_bug.cgi?id=744032
src/contextMenu.js | 2 +-
src/favoritesPopover.js | 2 +-
src/mainWindow.js | 2 +-
src/mapView.js | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/contextMenu.js b/src/contextMenu.js
index 7560adc..0a23522 100644
--- a/src/contextMenu.js
+++ b/src/contextMenu.js
@@ -117,7 +117,7 @@ const ContextMenu = new Lang.Class({
accuracy: 0 });
Application.geocodeService.reverse(location, null, (function(place) {
- this._mapView.showSearchResult(place, false);
+ this._mapView.showPlace(place, false);
}).bind(this));
},
diff --git a/src/favoritesPopover.js b/src/favoritesPopover.js
index 7a04e21..56f2649 100644
--- a/src/favoritesPopover.js
+++ b/src/favoritesPopover.js
@@ -84,7 +84,7 @@ const FavoritesPopover = new Lang.Class({
this._list.connect('row-activated', (function(list, row) {
this.hide();
- this._mapView.showSearchResult(row.place, true);
+ this._mapView.showPlace(row.place, true);
}).bind(this));
this._list.set_filter_func((function(row) {
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 39c1de1..ba4d9f1 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -123,7 +123,7 @@ const MainWindow = new Lang.Class({
});
placeEntry.connect('notify::place', (function() {
if (placeEntry.place) {
- this._mapView.showSearchResult(placeEntry.place, true);
+ this._mapView.showPlace(placeEntry.place, true);
}
}).bind(this));
diff --git a/src/mapView.js b/src/mapView.js
index eb13081..0090f60 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -414,7 +414,7 @@ const MapView = new Lang.Class({
route.reset();
},
- showSearchResult: function(place, animation) {
+ showPlace: function(place, animation) {
this._placeLayer.remove_all();
if (place instanceof StoredRoute.StoredRoute) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]