[gnome-maps] mapLocation: Emit 'gone-to' even when not animating
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapLocation: Emit 'gone-to' even when not animating
- Date: Tue, 7 May 2013 23:34:55 +0000 (UTC)
commit 9faf174c0adfa14d71499d34c2f2a23da5eca5a6
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed May 8 02:34:00 2013 +0300
mapLocation: Emit 'gone-to' even when not animating
src/mapLocation.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mapLocation.js b/src/mapLocation.js
index c9c8450..48677f5 100644
--- a/src/mapLocation.js
+++ b/src/mapLocation.js
@@ -52,6 +52,7 @@ const MapLocation = new Lang.Class({
if (!animate) {
this._view.center_on(this.latitude, this.longitude);
this._view.set_zoom_level(zoom);
+ this.emit('gone-to');
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]