diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-06 21:23:20 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-12-06 21:23:20 +0800 |
commit | 22b2d26d048476d4909bfcf348ce6567e0d006a0 (patch) | |
tree | 8902ba49d7ed1ac85a7a619bed720de6ca5cda66 /calendar/gui/dialogs/comp-editor.c | |
parent | dad3815a75bef3a119ff65184b4c0fc4c3edffdf (diff) | |
download | gsoc2013-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/comp-editor.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 15 |
1 files changed, 13 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); } - |