aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-07-24 22:58:40 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-07-24 22:58:40 +0800
commit3f060f07b401bad248daab957bbc79a6d21afb6c (patch)
treedfcf1194499596f2d95f70e727291c10bb263fd5 /calendar/gui/e-day-view.h
parent148cb18a9a6cb68aefc6cbe0c12f9c8616e46aec (diff)
downloadgsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.tar
gsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.tar.gz
gsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.tar.bz2
gsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.tar.lz
gsoc2013-evolution-3f060f07b401bad248daab957bbc79a6d21afb6c.tar.xz
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-day-view.h')
-rw-r--r--calendar/gui/e-day-view.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h
index 2738c0c5e0..4aad2a6751 100644
--- a/calendar/gui/e-day-view.h
+++ b/calendar/gui/e-day-view.h
@@ -169,11 +169,7 @@ typedef enum
typedef struct _EDayViewEvent EDayViewEvent;
struct _EDayViewEvent {
- CalComponent *comp;
-
- /* These are the times of this specific occurrence of the event. */
- time_t start;
- time_t end;
+ E_CAL_VIEW_EVENT_FIELDS
/* For events in the main canvas, this contains the start column.
For long events in the top canvas, this is its row. */
@@ -185,20 +181,6 @@ struct _EDayViewEvent {
i.e. it couldn't fit into the display. Currently long events are
always shown as we just increase the height of the top canvas. */
guint8 num_columns;
-
- /* TRUE if the event is at a different UTC offset than our current
- timezone, i.e. it is in a different timezone. */
- guint different_timezone : 1;
-
- /* These are minute offsets from the first time shown in the view.
- They range from 0 to 24 * 60. Currently the main canvas always
- starts at 12am and the code to handle starting at other times
- isn't finished. */
- guint16 start_minute;
- guint16 end_minute;
-
- /* This is the EText item containing the event summary. */
- GnomeCanvasItem *canvas_item;
};