mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'defaultfile'
By now the default file code seems quite matured, so in preparation for 2.0 we'll bring it back into master. I made a few small clean-ups during the merge, but the merge itself is very much straight forward. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
commit
3835faa8fb
13 changed files with 444 additions and 136 deletions
29
statistics.c
29
statistics.c
|
@ -715,3 +715,32 @@ GtkWidget *single_stats_widget(void)
|
|||
|
||||
return vbox;
|
||||
}
|
||||
|
||||
void clear_stats_widgets(void)
|
||||
{
|
||||
set_label(single_w.date, "");
|
||||
set_label(single_w.dive_time, "");
|
||||
set_label(single_w.surf_intv, "");
|
||||
set_label(single_w.max_depth, "");
|
||||
set_label(single_w.avg_depth, "");
|
||||
set_label(single_w.water_temp, "");
|
||||
set_label(single_w.sac, "");
|
||||
set_label(single_w.sac, "");
|
||||
set_label(single_w.otu, "");
|
||||
set_label(single_w.o2he, "");
|
||||
set_label(single_w.gas_used, "");
|
||||
set_label(stats_w.total_time,"");
|
||||
set_label(stats_w.avg_time,"");
|
||||
set_label(stats_w.shortest_time,"");
|
||||
set_label(stats_w.longest_time,"");
|
||||
set_label(stats_w.max_overall_depth,"");
|
||||
set_label(stats_w.min_overall_depth,"");
|
||||
set_label(stats_w.avg_overall_depth,"");
|
||||
set_label(stats_w.min_sac,"");
|
||||
set_label(stats_w.avg_sac,"");
|
||||
set_label(stats_w.max_sac,"");
|
||||
set_label(stats_w.selection_size,"");
|
||||
set_label(stats_w.max_temp,"");
|
||||
set_label(stats_w.avg_temp,"");
|
||||
set_label(stats_w.min_temp,"");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue