diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-02 12:49:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-02 12:49:03 -0700 |
commit | b0ba22a06879697efa7c429b9df8e13feaa02480 (patch) | |
tree | 7b5391ba66ea08de8e296c7abcd97a0a96fd9fec /libdivecomputer.h | |
parent | c8f3dc3594aa850829ab87ac7d290776dfb846bd (diff) | |
download | subsurface-b0ba22a06879697efa7c429b9df8e13feaa02480.tar.gz |
Show dive import error messages in the import dialog
.. not in the main window. And leave the import dialog open, so that
you can either try doing it again, or cancel. This makes it much easier
to re-try a failed dive import, and actually makes the failure more
obvious too.
Todo:
- make the "Ok" button change to "Retry" when an error happens
- try to see if we can catch the actual status update messages from
libdivecomputer and show them too in the import dialog. Right now
they are printed out to stderr by the library.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index 57d274cc6..c6e99fa73 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -34,6 +34,6 @@ struct device_list { }; extern struct device_list device_list[]; -extern void do_import(device_data_t *data); +extern GError *do_import(device_data_t *data); #endif |