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>
This commit is contained in:
Gaetan Bisson 2015-03-24 11:57:22 -10:00 committed by Dirk Hohndel
parent 3ff73d0a66
commit 5bf23381e0
4 changed files with 30 additions and 6 deletions

5
pref.h
View file

@ -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