mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
b1db60ba47
commit
c521aec884
4 changed files with 35 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue