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/day.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/day.c') diff --git a/src/day.c b/src/day.c index 4c2f5bf..2e3b4bf 100644 --- a/src/day.c +++ b/src/day.c @@ -370,7 +370,7 @@ struct day_items_nb day_process_storage(struct date *slctd_date, if (slctd_date) day = *slctd_date; else - calendar_store_current_date(&day); + ui_calendar_store_current_date(&day); date = date2sec(day, 0, 0); @@ -545,7 +545,7 @@ void day_popup_item(struct day_item *day) struct apoint apt_tmp; apt_tmp.start = day->start; apt_tmp.dur = day_item_get_duration(day); - apoint_sec2str(&apt_tmp, calendar_get_slctd_day_sec(), a_st, a_end); + apoint_sec2str(&apt_tmp, ui_calendar_get_slctd_day_sec(), a_st, a_end); item_in_popup(a_st, a_end, day_item_get_mesg(day), _("Appointment :")); } else { -- cgit v1.2.3-54-g00ecf