diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-23 11:53:42 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-23 11:53:42 -0800 |
commit | c521aec88452460cc139d9d74d1f23ef58eac1a6 (patch) | |
tree | 819396ee40b8ca251f854560c22b1f10c67b855c /webservice.c | |
parent | b1db60ba4795638192c0dea93670d858d4178528 (diff) | |
download | subsurface-c521aec88452460cc139d9d74d1f23ef58eac1a6.tar.gz |
Import and merge GPS data from the webservice
Dive locations marked (and named) via the companion app are downloaded
from the webservice, parsed and merged with the existing dives.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'webservice.c')
-rw-r--r-- | webservice.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webservice.c b/webservice.c index 5acfb2da9..1f7b32f2e 100644 --- a/webservice.c +++ b/webservice.c @@ -198,7 +198,9 @@ void webservice_download_dialog(void) result = gtk_dialog_run(GTK_DIALOG(dialog)); if (result == GTK_RESPONSE_ACCEPT) { /* apply download */ - g_message("\napply download should happen here: \n\n %s", state.xmldata); + /* g_message("\napply download should happen here: \n\n %s", state.xmldata); */ + parse_xml_buffer(_("Webservice"), state.xmldata, strlen(state.xmldata), NULL); + report_dives(TRUE, FALSE); } download_dialog_release_xml(&state); gtk_widget_destroy(dialog); |