summaryrefslogtreecommitdiff
path: root/src/day.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-02-14 10:52:44 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2013-02-14 11:08:03 +0100
commit806673dd9b256e879d1483255886a8881d1d8115 (patch)
tree53dfc46a1575233ad95dfdc2767a695504d26eac /src/day.c
parent971df8d215a0e10c87f67f3505345e15efcffb8e (diff)
downloadcalcurse-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/day.c')
-rw-r--r--src/day.c4
1 files changed, 2 insertions, 2 deletions
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 {