Add some more dive info - and actually update it

It's still the ugliest application ever, but now it at least gives you
some basic dive info.

I'd love to add a way to edit the dives to add new data (name, buddies,
location etc), but that would also require the ability to save the end
result.  Maybe some day.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2011-08-31 15:35:28 -07:00
parent c7e2906372
commit a39b2ee220
3 changed files with 41 additions and 2 deletions

1
main.c
View file

@ -51,6 +51,7 @@ static GtkWidget *dive_profile;
void repaint_dive(void)
{
update_dive_info(current_dive);
gtk_widget_queue_draw(dive_profile);
}