From 806673dd9b256e879d1483255886a8881d1d8115 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 14 Feb 2013 10:52:44 +0100 Subject: calendar.c: Rename to "ui-calendar.c" This unit belongs to the presentation layer -- rename the file accordingly. Also, rename calendar_*() to ui_calendar_*(). Signed-off-by: Lukas Fleischer --- src/custom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/custom.c') diff --git a/src/custom.c b/src/custom.c index df344c2..45cd07a 100644 --- a/src/custom.c +++ b/src/custom.c @@ -668,7 +668,7 @@ static int print_general_options(WINDOW * win) mvwprintw(win, y, XPOS, "[8] %s ", opt[FIRST_DAY_OF_WEEK]); custom_apply_attr(win, ATTR_HIGHEST); mvwaddstr(win, y, XPOS + 4 + strlen(opt[FIRST_DAY_OF_WEEK]), - calendar_week_begins_on_monday()? _("Monday") : _("Sunday")); + ui_calendar_week_begins_on_monday()? _("Monday") : _("Sunday")); custom_remove_attr(win, ATTR_HIGHEST); mvwaddstr(win, y + 1, XPOS, _("(specifies the first day of week in the calendar view)")); @@ -773,7 +773,7 @@ void custom_general_config(void) conf.progress_bar = !conf.progress_bar; break; case '8': - calendar_change_first_day_of_week(); + ui_calendar_change_first_day_of_week(); break; case '9': status_mesg(output_datefmt_str, ""); -- cgit v1.2.3-54-g00ecf