summaryrefslogtreecommitdiff
path: root/src/vars.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-11-24 23:36:51 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-11-25 18:13:37 +0100
commit660eef88e4a0add913e8a147d97b9549162a921e (patch)
tree32bbcb608739f902f9d2d6a6044b77ff33027da7 /src/vars.c
parent69b5293c871af3500f7b80379a5d9d3f5e41d8ad (diff)
downloadcalcurse-660eef88e4a0add913e8a147d97b9549162a921e.zip
Add configuration option to set a default panel
This allows for customizing the panel that is selected by default when calcurse is started. Note that this patch doesn't add any documentation. Also, this configuration option currently cannot be configured using the configuration menu. Implements FR#19. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/vars.c')
-rw-r--r--src/vars.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vars.c b/src/vars.c
index b6bddcb..9192c5c 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -134,6 +134,7 @@ void vars_init(void)
conf.auto_save = 1;
conf.auto_gc = 0;
conf.periodic_save = 0;
+ conf.default_panel = CAL;
conf.system_dialogs = 1;
conf.progress_bar = 1;
strncpy(conf.output_datefmt, "%D", 3);