From cc77e839d86fda9871f5fde89350d51465ec208b Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 21 Mar 2010 09:21:06 +0000 Subject: More work on sidebar customization. --- src/io.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 28b6bdb..79ca3c0 100755 --- a/src/io.c +++ b/src/io.c @@ -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); -- cgit v1.2.3-54-g00ecf