From 5bf23381e0dbf56aea19e646cf371d1d3ee80ada Mon Sep 17 00:00:00 2001 From: Gaetan Bisson Date: Tue, 24 Mar 2015 11:57:22 -1000 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurfacestartup.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'subsurfacestartup.c') diff --git a/subsurfacestartup.c b/subsurfacestartup.c index 62e37f932..ce66aee52 100644 --- a/subsurfacestartup.c +++ b/subsurfacestartup.c @@ -45,6 +45,11 @@ struct preferences default_prefs = { .decopo2 = 1600, .doo2breaks = false, .drop_stone_mode = false, + .last_stop = false, + .verbatim_plan = false, + .display_runtime = true, + .display_duration = true, + .display_transitions = true, .bottomsac = 20000, .decosac = 17000, .o2consumption = 720, -- cgit v1.2.3-70-g09d2