aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-06 21:23:20 +0800
committerMilan Crha <mcrha@redhat.com>2010-12-06 21:23:20 +0800
commit22b2d26d048476d4909bfcf348ce6567e0d006a0 (patch)
tree8902ba49d7ed1ac85a7a619bed720de6ca5cda66 /calendar/gui/dialogs
parentdad3815a75bef3a119ff65184b4c0fc4c3edffdf (diff)
downloadgsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.tar.gz
gsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.tar.zst
gsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.zip
Free/busy meeting view doesn't work due to non-working extension
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor.c15
-rw-r--r--calendar/gui/dialogs/event-editor.c3
-rw-r--r--calendar/gui/dialogs/memo-editor.c3
-rw-r--r--calendar/gui/dialogs/task-editor.c3
4 files changed, 22 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 1714ef405d..08b6ac7e8e 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -210,7 +210,8 @@ static void obj_removed_cb (ECal *client, GList *uids, CompEditor *editor);
G_DEFINE_TYPE_WITH_CODE (
CompEditor, comp_editor, GTK_TYPE_WINDOW,
- G_IMPLEMENT_INTERFACE (E_TYPE_ALERT_SINK, NULL))
+ G_IMPLEMENT_INTERFACE (E_TYPE_ALERT_SINK, NULL);
+ G_IMPLEMENT_INTERFACE (E_TYPE_EXTENSIBLE, NULL))
enum {
OBJECT_CREATED,
@@ -1498,6 +1499,16 @@ comp_editor_finalize (GObject *object)
}
static void
+comp_editor_constructed (GObject *object)
+{
+ e_extensible_load_extensions (E_EXTENSIBLE (object));
+
+ /* Chain up to parent's constructed() method. */
+ if (G_OBJECT_CLASS (comp_editor_parent_class)->constructed)
+ G_OBJECT_CLASS (comp_editor_parent_class)->constructed (object);
+}
+
+static void
comp_editor_bind_gconf (CompEditor *editor)
{
GConfBridge *bridge;
@@ -1624,6 +1635,7 @@ comp_editor_class_init (CompEditorClass *class)
object_class->get_property = comp_editor_get_property;
object_class->dispose = comp_editor_dispose;
object_class->finalize = comp_editor_finalize;
+ object_class->constructed = comp_editor_constructed;
widget_class = GTK_WIDGET_CLASS (class);
widget_class->delete_event = comp_editor_delete_event;
@@ -3420,4 +3432,3 @@ obj_removed_cb (ECal *client,
if (changed_component_dialog ((GtkWindow *) editor, priv->comp, TRUE, priv->changed))
close_dialog (editor);
}
-
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 11dbe134c0..260778d83a 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -437,6 +437,9 @@ event_editor_constructed (GObject *object)
object, "client",
priv->model, "client",
G_BINDING_SYNC_CREATE);
+
+ if (G_OBJECT_CLASS (event_editor_parent_class)->constructed)
+ G_OBJECT_CLASS (event_editor_parent_class)->constructed (object);
}
static void
diff --git a/calendar/gui/dialogs/memo-editor.c b/calendar/gui/dialogs/memo-editor.c
index 9486ef6770..8de1b09601 100644
--- a/calendar/gui/dialogs/memo-editor.c
+++ b/calendar/gui/dialogs/memo-editor.c
@@ -107,6 +107,9 @@ memo_editor_constructed (GObject *object)
comp_editor_append_page (
editor, COMP_EDITOR_PAGE (priv->memo_page),
_("Memo"), TRUE);
+
+ if (G_OBJECT_CLASS (memo_editor_parent_class)->constructed)
+ G_OBJECT_CLASS (memo_editor_parent_class)->constructed (object);
}
static void
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index d4e1c13161..8021339c9b 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -213,6 +213,9 @@ task_editor_constructed (GObject *object)
object, "client",
priv->model, "client",
G_BINDING_SYNC_CREATE);
+
+ if (G_OBJECT_CLASS (task_editor_parent_class)->constructed)
+ G_OBJECT_CLASS (task_editor_parent_class)->constructed (object);
}
static void