[gnome-maps] 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] placeEntry: Avoid checking current place with place to go
- Date: Thu, 22 Jun 2017 21:28:32 +0000 (UTC)
commit 58194e1dd7382f773c8ba950a757804a7cfb8037
Author: Nayan Deshmukh <nayan26deshmukh gmail com>
Date: Thu Jun 9 17:42:49 2016 +0530
placeEntry: Avoid checking current place with place to go
In case of panning the local place won't change and if we want
to go back to the initial place we can't. This patch allow going
back to the initial place.
https://bugzilla.gnome.org/show_bug.cgi?id=767447
src/placeEntry.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/placeEntry.js b/src/placeEntry.js
index 0cef292..b0dbc21 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -50,9 +50,6 @@ 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]