From c85c3cce558b32c4fb00a339872d4dbe035d3f6c Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 29 Mar 2012 17:06:56 +0200 Subject: 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 --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index 0e6acb1..51a0792 100644 --- a/src/config.c +++ b/src/config.c @@ -99,8 +99,8 @@ static const struct confvar confmap[] = { { "general.confirmquit", CONFIG_HANDLER_BOOL (conf.confirm_quit) }, { "general.firstdayofweek", config_parse_first_day_of_week, config_serialize_first_day_of_week, NULL }, { "general.periodicsave", CONFIG_HANDLER_UNSIGNED (conf.periodic_save) }, - { "general.progressbar", CONFIG_HANDLER_BOOL (conf.skip_progress_bar) }, - { "general.systemdialogs", CONFIG_HANDLER_BOOL (conf.skip_system_dialogs) }, + { "general.progressbar", CONFIG_HANDLER_BOOL (conf.progress_bar) }, + { "general.systemdialogs", CONFIG_HANDLER_BOOL (conf.system_dialogs) }, { "notification.command", CONFIG_HANDLER_STR (nbar.cmd) }, { "notification.notifyall", CONFIG_HANDLER_BOOL (nbar.notify_all) }, { "notification.warning", CONFIG_HANDLER_INT (nbar.cntdwn) } -- cgit v1.2.3-54-g00ecf