diff options
author | Not Zed <NotZed@Ximian.com> | 2004-10-06 11:22:39 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-10-06 11:22:39 +0800 |
commit | 7501aec23887fe0d6e68620b00326c6f2fc3c260 (patch) | |
tree | 24ddc5d35c642a08ea93e8dc3c1c8c7b223e29c5 /calendar/calendar-errors.xml | |
parent | f745553229591ed3f620761b91e7ed447d1800fa (diff) | |
download | gsoc2013-evolution-7501aec23887fe0d6e68620b00326c6f2fc3c260.tar.gz gsoc2013-evolution-7501aec23887fe0d6e68620b00326c6f2fc3c260.tar.zst gsoc2013-evolution-7501aec23887fe0d6e68620b00326c6f2fc3c260.zip |
cast warning away. (create_component_view): connect to popup_event rather
2004-10-01 Not Zed <NotZed@Ximian.com>
* 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
Diffstat (limited to 'calendar/calendar-errors.xml')
-rw-r--r-- | calendar/calendar-errors.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/calendar/calendar-errors.xml b/calendar/calendar-errors.xml index 3e38b7e71a..9ed07ca503 100644 --- a/calendar/calendar-errors.xml +++ b/calendar/calendar-errors.xml @@ -163,4 +163,18 @@ <secondary>Your calendars will not be available until Evolution is restarted.</secondary> </error> + <error id="prompt-delete-calendar" type="question" modal="true" default="GTK_RESPONSE_CANCEL"> + <primary>Delete calendar '{0}'?</primary> + <secondary>This calendar will be removed permanently.</secondary> + <button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/> + <button stock="gtk-delete" response="GTK_RESPONSE_YES"/> + </error> + + <error id="prompt-delete-task-list" type="question" modal="true" default="GTK_RESPONSE_CANCEL"> + <primary>Delete task list '{0}'?</primary> + <secondary>This task list will be removed permanently.</secondary> + <button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/> + <button stock="gtk-delete" response="GTK_RESPONSE_YES"/> + </error> + </error-list> |