[gnome-maps] Revert "placeEntry: Avoid checking current place with place to go"
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Revert "placeEntry: Avoid checking current place with place to go"
- Date: Mon, 26 Jun 2017 20:42:02 +0000 (UTC)
commit 7ff56a278acc99e32e9c31ff79b94d8e941f122e
Author: Marcus Lundblad <ml update uu se>
Date: Mon Jun 26 22:40:56 2017 +0200
Revert "placeEntry: Avoid checking current place with place to go"
This reverts commit 58194e1dd7382f773c8ba950a757804a7cfb8037.
src/placeEntry.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/placeEntry.js b/src/placeEntry.js
index b0dbc21..0cef292 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -50,6 +50,9 @@ const PlaceEntry = new Lang.Class({
if (!this._place && !p)
return;
+ if (this._place && p && this._locEquals(this._place, p))
+ return;
+
if (p) {
if (p.name) {
this.text = p.name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]