diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-04-23 02:06:38 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-04-23 02:06:38 +0800 |
commit | 95d8e5b20bdc58eb2a72a6f8f75ca99cbd6b169b (patch) | |
tree | bb270c7030c3dad20de98b0f9d68455e65fda34b /calendar/gui/e-week-view.h | |
parent | 4167920c363eb3ff08268ffe250c4786fe72b0ac (diff) | |
download | gsoc2013-evolution-95d8e5b20bdc58eb2a72a6f8f75ca99cbd6b169b.tar.gz gsoc2013-evolution-95d8e5b20bdc58eb2a72a6f8f75ca99cbd6b169b.tar.zst gsoc2013-evolution-95d8e5b20bdc58eb2a72a6f8f75ca99cbd6b169b.zip |
Fixes #22444
2003-04-21 Rodrigo Moya <rodrigo@ximian.com>
Fixes #22444
* gui/calendar-commands.c: added new verbs for occurrence-related
menu items.
(delete_occurrence_cmd): added callback for "Delete this occurrence"
menu item. "Delete all occurrences" is just the same as "Delete".
(sensitize_calendar_commands): sensitive ocurrence-related menu items.
* gui/gnome-cal.[ch] (gnome_calendar_delete_selected_occurrence): new
function.
(gnome_calendar_get_current_view_widget): made this public.
* gui/e-week-view.[ch] (e_week_view_get_selected_event):
(e_week_view_delete_occurrence): new functions.
(e_week_view_delete_occurrence_internal): real implementation of the
'Delete Occurrence' logic.
(e_week_view_on_delete_occurrence): call delete_instance_internal.
* gui/e-day-view.[ch] (e_day_view_get_selected_event):
(e_day_view_delete_occurrence): new functions.
(e_week_view_delete_occurrence_internal): real implementation of the
'Delete Occurrence' logic.
(e_week_view_on_delete_occurrence): call delete_occurrence_internal.
svn path=/trunk/; revision=20917
Diffstat (limited to 'calendar/gui/e-week-view.h')
-rw-r--r-- | calendar/gui/e-week-view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h index 8723d14cf9..fc481bdc4a 100644 --- a/calendar/gui/e-week-view.h +++ b/calendar/gui/e-week-view.h @@ -465,10 +465,13 @@ void e_week_view_copy_clipboard (EWeekView *week_view); void e_week_view_paste_clipboard (EWeekView *week_view); void e_week_view_delete_event (EWeekView *week_view); +void e_week_view_delete_occurrence (EWeekView *week_view); /* Returns the number of selected events (0 or 1 at present). */ gint e_week_view_get_num_events_selected (EWeekView *week_view); +CalComponent *e_week_view_get_selected_event (EWeekView *week_view); + /* * Internal functions called by the associated canvas items. */ |