[gnome-maps] placeBubble: Order weblinks last in bubble
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] placeBubble: Order weblinks last in bubble
- Date: Sun, 14 Feb 2016 19:05:50 +0000 (UTC)
commit 4e7aa2c97190ff7c8d98399245034d60400ab491
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Sun Feb 14 20:05:27 2016 +0100
placeBubble: Order weblinks last in bubble
src/placeBubble.js | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/placeBubble.js b/src/placeBubble.js
index d66b05d..d332ad3 100644
--- a/src/placeBubble.js
+++ b/src/placeBubble.js
@@ -143,17 +143,6 @@ const PlaceBubble = new Lang.Class({
info: place.wheelchairTranslated });
}
- if (place.website) {
- expandedContent.push({ linkText: _("Website"),
- linkUrl: place.website });
- }
-
- if (place.wiki) {
- let link = this._formatWikiLink(place.wiki);
- expandedContent.push({ linkText: _("Wikipedia"),
- linkUrl: link});
- }
-
if (place.phone) {
if (Utils.uriSchemeSupported('tel')) {
expandedContent.push({ label: _("Phone:"),
@@ -165,6 +154,17 @@ const PlaceBubble = new Lang.Class({
}
}
+ if (place.website) {
+ expandedContent.push({ linkText: _("Website"),
+ linkUrl: place.website });
+ }
+
+ if (place.wiki) {
+ let link = this._formatWikiLink(place.wiki);
+ expandedContent.push({ linkText: _("Wikipedia"),
+ linkUrl: link});
+ }
+
content.forEach((function(row) {
let label = new Gtk.Label({ label: row,
visible: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]