From 7501aec23887fe0d6e68620b00326c6f2fc3c260 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 6 Oct 2004 03:22:39 +0000 Subject: cast warning away. (create_component_view): connect to popup_event rather 2004-10-01 Not Zed * gui/tasks-component.c (create_component_view): cast warning away. (create_component_view): connect to popup_event rather than fill_popup_menu. * gui/calendar-component.c (create_component_view): cast a warning away. * calendar-errors.xml: add prompt-delete-task-list. * gui/tasks-component.c (fill_popup_menu_cb): renamed to popup_event_cb, make use e-cal-popup. (edit_task_list_cb, new_task_list_cb, delete_task_list_cb) (copy_task_list_cb): deja-vu. update for api. (add_popup_menu_item): killed. murdered. drawn and quatered. (delete_task_list_cb): use e-error for the delete prompt. * gui/calendar-component.c (create_component_view): hook onto popup event instead of fill_popup_menu. * calendar-errors.xml: added prompt-delete-calendar. * gui/calendar-component.c (fill_popup_menu_cb): rename to popup_event_cb, make use e-cal-popup. (edit_calendar_cb, new_calendar_cb, delete_calendar_cb) (copy_calendar_cb): fix for api changes. (add_popup_menu_item): removed. (delete_calendar_cb): use e-error for the delete thing. * gui/e-cal-popup.[ch]: calendar popup driver. svn path=/trunk/; revision=27467 --- calendar/calendar-errors.xml.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'calendar/calendar-errors.xml.h') diff --git a/calendar/calendar-errors.xml.h b/calendar/calendar-errors.xml.h index 85f62a501a..6e9df6221f 100644 --- a/calendar/calendar-errors.xml.h +++ b/calendar/calendar-errors.xml.h @@ -112,3 +112,11 @@ char *s = N_("Your tasks will not be available until Evolution is restarted."); char *s = N_("The Evolution calendar has quit unexpectedly."); /* calendar:calendar-crashed secondary */ char *s = N_("Your calendars will not be available until Evolution is restarted."); +/* calendar:prompt-delete-calendar primary */ +char *s = N_("Delete calendar '{0}'?"); +/* calendar:prompt-delete-calendar secondary */ +char *s = N_("This calendar will be removed permanently."); +/* calendar:prompt-delete-task-list primary */ +char *s = N_("Delete task list '{0}'?"); +/* calendar:prompt-delete-task-list secondary */ +char *s = N_("This task list will be removed permanently."); -- cgit v1.2.3