[gnome-maps/wip/osm-edit: 28/47] osmApi: include application version in the changeset



commit 2adfb9466c4040d455194ddff262401e7ebe24cc
Author: Marcus Lundblad <ml update uu se>
Date:   Thu Feb 12 23:13:15 2015 +0100

    osmApi: include application version in the changeset

 src/osmChangeset.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/osmChangeset.js b/src/osmChangeset.js
index 2172747..25af457 100644
--- a/src/osmChangeset.js
+++ b/src/osmChangeset.js
@@ -31,7 +31,7 @@ const OSMChangeset = new Lang.Class({
        this.parent({});
 
        // add default tags
-       this.setTag('created_by', 'gnome-maps'); // TODO: add real version number
+       this.setTag('created_by', 'gnome-maps ' + pkg.version);
        this.setTag('comment', comment);
        this.setTag('source', source);
        


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]