Fix semantics of "general."{systemdialogs,progressbar}

These were renamed from "skip_"* to *. However, we only changed syntax
and didn't invert their semantic meaning. Fix this by negating the
semantics of those variables. Also, negate these in the configuration
file automatically when running `calcurse-upgrade`.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-03-29 17:06:56 +02:00
parent 8916293a26
commit c85c3cce55
8 changed files with 31 additions and 23 deletions

View File

@@ -131,8 +131,8 @@ vars_init (void)
conf.auto_save = 1;
conf.auto_gc = 0;
conf.periodic_save = 0;
conf.skip_system_dialogs = 0;
conf.skip_progress_bar = 0;
conf.system_dialogs = 1;
conf.progress_bar = 1;
strncpy (conf.output_datefmt, "%D", 3);
conf.input_datefmt = 1;