diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-12 11:41:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-12 11:41:26 -0700 |
commit | d45db9fac7b3d2ea0426a96158432f54d938f5c7 (patch) | |
tree | 5acf98317d08b555eb0b09b701c56c0be24d0c1b /parse-xml.c | |
parent | d5b7f7dc06827cab8dd57d6d373a08d6be111c79 (diff) | |
download | subsurface-d45db9fac7b3d2ea0426a96158432f54d938f5c7.tar.gz |
libdivecomputer integration: add a progress bar
Instead of writing out the progress events, use them to update a real
progress bar.
Also, we need to handle gtk events while busy with the dive computer
reading. That should *probably* be done with a threading model, because
libdivecomputer does seem to have some timing sensitivity - I'm getting
"failure to read memory block" if I make that loop do the standard
while (gtk_events_pending())
gtk_main_iteration();
thing. Besides, even if we did do that loop, it would still cause
problems when the libdivecomputer code is stuck reading a serial line
that doesn't respond or whatever.
But for now this ugly hack is "good enough" to get further.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'parse-xml.c')
0 files changed, 0 insertions, 0 deletions