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/day.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/day.c')
-rw-r--r-- | src/day.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |