aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/task-editor.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 202bd5dee1..eaf4c2eaca 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -50,6 +50,7 @@ struct _TaskEditorPrivate {
static void task_editor_class_init (TaskEditorClass *class);
static void task_editor_init (TaskEditor *te);
+static void task_editor_set_cal_client (CompEditor *editor, CalClient *client);
static void task_editor_edit_comp (CompEditor *editor, CalComponent *comp);
static gboolean task_editor_send_comp (CompEditor *editor, CalComponentItipMethod method);
static void task_editor_finalize (GObject *object);
@@ -99,6 +100,7 @@ task_editor_class_init (TaskEditorClass *klass)
parent_class = g_type_class_ref(TYPE_COMP_EDITOR);
+ editor_class->set_cal_client = task_editor_set_cal_client;
editor_class->edit_comp = task_editor_edit_comp;
editor_class->send_comp = task_editor_send_comp;
@@ -214,6 +216,21 @@ task_editor_construct (TaskEditor *te, CalClient *client)
}
static void
+task_editor_set_cal_client (CompEditor *editor, CalClient *client)
+{
+ TaskEditor *te;
+ TaskEditorPrivate *priv;
+
+ te = TASK_EDITOR (editor);
+ priv = te->priv;
+
+ e_meeting_model_set_cal_client (priv->model, client);
+
+ if (parent_class->set_cal_client)
+ parent_class->set_cal_client (editor, client);
+}
+
+static void
task_editor_edit_comp (CompEditor *editor, CalComponent *comp)
{
TaskEditor *te;