diff options
author | Gaetan Bisson <bisson@archlinux.org> | 2015-03-24 11:57:22 -1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-25 09:45:46 -0700 |
commit | 5bf23381e0dbf56aea19e646cf371d1d3ee80ada (patch) | |
tree | ea0ddcf495255334605a7c5bd5c45a14229bcad4 /pref.h | |
parent | 3ff73d0a6621b118b43358f420723eb7e50a9807 (diff) | |
download | subsurface-5bf23381e0dbf56aea19e646cf371d1d3ee80ada.tar.gz |
Save more planner settings into prefs
This adds to the prefs struct the variables last_stop, verbatim_plan,
display_runtime, display_duration, and display_transitions from the
planner so their values are saved from one session to the next.
The widgets for some of those settings had default values in
plannerSettings.ui; remove them since the new code in
subsurfacestartup.c takes care of initializing them.
Signed-off-by: Gaetan Bisson <bisson@archlinux.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r-- | pref.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -73,6 +73,11 @@ struct preferences { char *proxy_pass; bool doo2breaks; bool drop_stone_mode; + bool last_stop; + bool verbatim_plan; + bool display_runtime; + bool display_duration; + bool display_transitions; int bottomsac; int decosac; int o2consumption; // ml per min |