diff options
author | Frederic Culot <calcurse@culot.org> | 2010-03-21 09:21:06 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2010-03-21 09:21:06 +0000 |
commit | cc77e839d86fda9871f5fde89350d51465ec208b (patch) | |
tree | 82711eb671a98bb525bba4365f19bbfe456b5455 /src/io.c | |
parent | ec36b968489111707e2b71f27f3c021571471b5e (diff) | |
download | calcurse-cc77e839d86fda9871f5fde89350d51465ec208b.zip |
More work on sidebar customization.
Diffstat (limited to 'src/io.c')
-rwxr-xr-x | src/io.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: io.c,v 1.81 2010/03/20 10:54:46 culot Exp $ */ +/* $calcurse: io.c,v 1.82 2010/03/21 09:21:07 culot Exp $ */ /* * Calcurse - text-based organizer @@ -887,6 +887,11 @@ io_save_conf (struct conf *conf) (void)fprintf (fp, "\n# This is the layout of the calendar :\n"); (void)fprintf (fp, "layout=\n"); (void)fprintf (fp, "%d\n", wins_layout ()); + + (void)fprintf (fp, "\n# Width (in percentage, 0 being minimun width) " + "of the side bar :\n"); + (void)fprintf (fp, "side-bar_width=\n"); + (void)fprintf (fp, "%d\n", wins_sbar_wperc ()); if (ui_mode == UI_CURSES) pthread_mutex_lock (&nbar.mutex); |