From c7f388860736968b1a7a3af98fbbe59acd4abac0 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 14 Feb 2013 10:29:57 +0100 Subject: Rename appointment/event-related UI functions * Rename "interaction.c" to "ui-day.c" since it no longer contains todo-related UI functions. * Rename appointment/event-related UI functions to ui_day_*(). Signed-off-by: Lukas Fleischer --- src/calcurse.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/calcurse.c') diff --git a/src/calcurse.c b/src/calcurse.c index 34b93db..a7500ca 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -126,7 +126,7 @@ static inline void key_generic_config_menu(void) static inline void key_generic_add_appt(void) { - interact_day_item_add(); + ui_day_item_add(); inday = do_storage(1); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } @@ -143,7 +143,7 @@ static inline void key_add_item(void) { switch (wins_slctd()) { case APP: - interact_day_item_add(); + ui_day_item_add(); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); break; @@ -161,7 +161,7 @@ static inline void key_add_item(void) static inline void key_edit_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_edit(); + ui_day_item_edit(); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } else if (wins_slctd() == TOD && todo_hilt() != 0) { @@ -173,7 +173,7 @@ static inline void key_edit_item(void) static inline void key_del_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_delete(&inday.nb_events, &inday.nb_apoints, reg); + ui_day_item_delete(&inday.nb_events, &inday.nb_apoints, reg); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } else if (wins_slctd() == TOD && todo_hilt() != 0) { @@ -185,7 +185,7 @@ static inline void key_del_item(void) static inline void key_generic_copy(void) { if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_copy(&inday.nb_events, &inday.nb_apoints, reg); + ui_day_item_copy(&inday.nb_events, &inday.nb_apoints, reg); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP); } @@ -194,7 +194,7 @@ static inline void key_generic_copy(void) static inline void key_generic_paste(void) { if (wins_slctd() == APP) { - interact_day_item_paste(&inday.nb_events, &inday.nb_apoints, reg); + ui_day_item_paste(&inday.nb_events, &inday.nb_apoints, reg); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP); } @@ -203,7 +203,7 @@ static inline void key_generic_paste(void) static inline void key_repeat_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) - interact_day_item_repeat(); + ui_day_item_repeat(); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } @@ -223,7 +223,7 @@ static inline void key_flag_item(void) static inline void key_pipe_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) - interact_day_item_pipe(); + ui_day_item_pipe(); else if (wins_slctd() == TOD && todo_hilt() != 0) ui_todo_pipe(); wins_update(FLAG_ALL); -- cgit v1.2.3