diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-14 10:52:44 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-14 11:08:03 +0100 |
commit | 806673dd9b256e879d1483255886a8881d1d8115 (patch) | |
tree | 53dfc46a1575233ad95dfdc2767a695504d26eac /src/custom.c | |
parent | 971df8d215a0e10c87f67f3505345e15efcffb8e (diff) | |
download | calcurse-806673dd9b256e879d1483255886a8881d1d8115.zip |
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'src/custom.c')
-rw-r--r-- | src/custom.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, ""); |