diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-03-29 17:06:56 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-03-29 17:06:56 +0200 |
commit | c85c3cce558b32c4fb00a339872d4dbe035d3f6c (patch) | |
tree | a1f854cda63db04b189a95221d08549ff6dcf487 /src/config.c | |
parent | 8916293a26e7a79e3bf969aac9895b2678946deb (diff) | |
download | calcurse-c85c3cce558b32c4fb00a339872d4dbe035d3f6c.zip |
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>
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |