diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-07-24 22:58:40 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-07-24 22:58:40 +0800 |
commit | 3f060f07b401bad248daab957bbc79a6d21afb6c (patch) | |
tree | dfcf1194499596f2d95f70e727291c10bb263fd5 /calendar/gui/e-week-view.c | |
parent | 148cb18a9a6cb68aefc6cbe0c12f9c8616e46aec (diff) | |
download | gsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.tar.gz gsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.tar.zst gsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.zip |
define ECalViewEvent as the base struct for the other views.
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.h: define ECalViewEvent as the base struct for
the other views.
* gui/e-day-view.[ch]: EDayViewEvent is now based on ECalViewEvent.
(e_day_view_get_selected_events): made it return a list of
ECalViewEvent's, not CalComponent's, so that we can get more
information about the events.
* gui/e-week-view.[ch]: EWeekViewEvent is now based on ECalViewEvent.
(e_week_view_get_selected_events): same as e_day_view_get_selected_events.
* gui/e-cal-view.c (e_cal_view_cut_clipboard, e_cal_view_copy_clipboard,
e_cal_view_delete_selected_event, e_cal_view_delete_selected_events,
on_edit_appointment, on_save_as, on_print_event, on_meeting,
on_forward, e_cal_view_create_popup_menu):
* gui/calendar-commands.c (sensitize_calendar_commands): updated
to read ECalViewEvent's instead of CalComponent's as returned
by e_cal_view_get_selected_events().
svn path=/trunk/; revision=21946
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 0065a00123..3aa58a0a36 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1000,7 +1000,7 @@ e_week_view_get_selected_events (ECalView *cal_view) } if (event) - list = g_list_prepend (list, event->comp); + list = g_list_prepend (list, event); return list; } |