[gnome-maps/wip/osm-edit] osmEdit: Show spinner when uploading to OSM



commit 1f7c9e5a195c77a765092b880380148f0850f6b2
Author: Marcus Lundblad <ml update uu se>
Date:   Sun Dec 6 22:41:27 2015 +0100

    osmEdit: Show spinner when uploading to OSM
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726628

 src/osmEditDialog.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/osmEditDialog.js b/src/osmEditDialog.js
index bad279a..eab126a 100644
--- a/src/osmEditDialog.js
+++ b/src/osmEditDialog.js
@@ -126,6 +126,8 @@ const OSMEditDialog = new Lang.Class({
             // switch to the upload view
             this._switchToUpload();
         } else {
+            // turn on spinner
+            this._stack.visible_child_name = 'loading';
             // upload data to OSM
             let comment = this._commentTextView.buffer.text;
             Application.osmEdit.uploadObject(this._osmObject,


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