diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-07-25 00:02:54 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-07-25 00:02:54 +0800 |
commit | ef14a8c5a5049749c22e991da83225e04ab1df02 (patch) | |
tree | a76532e1afce69c22142cb1ff4807f9230d5b0bd /calendar/gui/e-cal-view.h | |
parent | 3f060f07b401bad248daab957bbc79a6d21afb6c (diff) | |
download | gsoc2013-evolution-ef14a8c5a5049749c22e991da83225e04ab1df02.tar.gz gsoc2013-evolution-ef14a8c5a5049749c22e991da83225e04ab1df02.tar.zst gsoc2013-evolution-ef14a8c5a5049749c22e991da83225e04ab1df02.zip |
new function. (e_cal_view_get_timezone, e_cal_view_set_timezone): new
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch] (e_cal_view_delete_selected_occurrence):
new function.
(e_cal_view_get_timezone, e_cal_view_set_timezone): new functions.
(e_cal_view_class_init): added new class' signal.
* gui/e-week-view.[ch] (e_week_view_delete_occurrence,
e_week_view_delete_occurrence_internal): removed.
(e_week_view_get_timezone): removed.
(e_week_view_set_timezone): renamed to timezone_changed_cb, as
the callback for timezone changes in the parent ECalView.
(e_week_view_on_button_press): call gnome_calendar_new_appointment
instead of the non-existant e_week_view_new_appointment.
* gui/e-day-view.[ch] (e_day_view_delete_occurrence,
e_day_view_delete_occurrence_internal): removed.
(e_day_view_get_timezone): removed.
(e_day_view_set_timezone): renamed to timezone_changed_cb, as
the callback for timezone changes in the parent ECalView.
* gui/gnome-cal.c (gnome_calendar_delete_selected_occurrence):
made it call e_cal_view_delete_selected_occurrence.
(gnome_calendar_update_config_settings): call the generic
e_cal_view_set_timezone on all view widgets.
* gui/e-day-view-top-item.c:
* gui/e-week-view-main-item.c:
* gui/e-day-view-main-item.c: removed mentions to non-existant
structure fields.
svn path=/trunk/; revision=21948
Diffstat (limited to 'calendar/gui/e-cal-view.h')
-rw-r--r-- | calendar/gui/e-cal-view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-view.h b/calendar/gui/e-cal-view.h index ba9376b467..1af47f74af 100644 --- a/calendar/gui/e-cal-view.h +++ b/calendar/gui/e-cal-view.h @@ -75,6 +75,7 @@ struct _ECalViewClass { /* Notification signals */ void (* selection_changed) (ECalView *cal_view); + void (* timezone_changed) (ECalView *cal_view, icaltimezone *old_zone, icaltimezone *new_zone); /* Virtual methods */ GList * (* get_selected_events) (ECalView *cal_view); /* a GList of ECalViewEvent's */ @@ -92,6 +93,8 @@ CalClient *e_cal_view_get_cal_client (ECalView *cal_view); void e_cal_view_set_cal_client (ECalView *cal_view, CalClient *client); const gchar *e_cal_view_get_query (ECalView *cal_view); void e_cal_view_set_query (ECalView *cal_view, const gchar *sexp); +icaltimezone *e_cal_view_get_timezone (ECalView *cal_view); +void e_cal_view_set_timezone (ECalView *cal_view, icaltimezone *zone); void e_cal_view_set_status_message (ECalView *cal_view, const gchar *message); @@ -106,6 +109,7 @@ void e_cal_view_copy_clipboard (ECalView *cal_view); void e_cal_view_paste_clipboard (ECalView *cal_view); void e_cal_view_delete_selected_event (ECalView *cal_view); void e_cal_view_delete_selected_events (ECalView *cal_view); +void e_cal_view_delete_selected_occurrence (ECalView *cal_view); GtkMenu *e_cal_view_create_popup_menu (ECalView *cal_view); |