[evolution/webkit] Free/busy meeting view doesn't work due to non-working extension



commit f713073700341101bdc2cf1701119cd419268356
Author: Milan Crha <mcrha redhat com>
Date:   Mon Dec 6 14:23:20 2010 +0100

    Free/busy meeting view doesn't work due to non-working extension

 addressbook/gui/widgets/e-addressbook-selector.c   |    3 +++
 addressbook/gui/widgets/e-addressbook-view.c       |    3 +++
 calendar/gui/dialogs/comp-editor.c                 |   15 +++++++++++++--
 calendar/gui/dialogs/event-editor.c                |    3 +++
 calendar/gui/dialogs/memo-editor.c                 |    3 +++
 calendar/gui/dialogs/task-editor.c                 |    3 +++
 calendar/gui/e-memo-table.c                        |    3 +++
 calendar/gui/e-task-table.c                        |    3 +++
 calendar/gui/gnome-cal.c                           |    3 +++
 composer/e-msg-composer.c                          |    3 +++
 e-util/e-alert-dialog.c                            |    3 +++
 e-util/e-alert.c                                   |    3 +++
 e-util/e-extension.c                               |    3 +++
 mail/e-mail-attachment-bar.c                       |    3 +++
 mail/e-mail-backend.c                              |    3 +++
 mail/e-mail-label-dialog.c                         |    3 +++
 mail/e-mail-label-list-store.c                     |    3 +++
 mail/e-mail-notebook-view.c                        |    3 +++
 mail/e-mail-paned-view.c                           |    3 +++
 modules/addressbook/e-book-shell-backend.c         |    3 +++
 modules/calendar/e-cal-config-calendar-item.c      |    7 +++++++
 modules/calendar/e-cal-config-comp-editor.c        |    7 +++++++
 modules/calendar/e-cal-config-date-edit.c          |    7 +++++++
 modules/calendar/e-cal-config-meeting-store.c      |    7 +++++++
 .../calendar/e-cal-config-meeting-time-selector.c  |    7 +++++++
 modules/calendar/e-cal-config-model.c              |    7 +++++++
 modules/calendar/e-cal-config-view.c               |    7 +++++++
 modules/calendar/e-cal-shell-backend.c             |    3 +++
 modules/calendar/e-memo-shell-backend.c            |    3 +++
 modules/calendar/e-task-shell-backend.c            |    3 +++
 modules/connman/evolution-connman.c                |    3 +++
 modules/mail/e-mail-config-format-html.c           |    7 +++++++
 modules/mail/e-mail-config-reader.c                |    7 +++++++
 modules/mail/e-mail-config-web-view.c              |    7 +++++++
 modules/mailto-handler/evolution-mailto-handler.c  |    3 +++
 .../network-manager/evolution-network-manager.c    |    3 +++
 modules/offline-alert/evolution-offline-alert.c    |    3 +++
 modules/plugin-manager/evolution-plugin-manager.c  |    3 +++
 modules/startup-wizard/evolution-startup-wizard.c  |    3 +++
 modules/windows-sens/evolution-windows-sens.c      |    3 +++
 shell/e-shell-content.c                            |    3 +++
 shell/e-shell-searchbar.c                          |    3 +++
 shell/e-shell-sidebar.c                            |    3 +++
 shell/e-shell-taskbar.c                            |    3 +++
 shell/e-shell-view.c                               |    3 +++
 shell/e-shell-window.c                             |    3 +++
 shell/e-shell.c                                    |    3 +++
 shell/test/e-test-shell-backend.c                  |    3 +++
 widgets/misc/e-attachment-handler-image.c          |    4 ++--
 widgets/misc/e-attachment-handler-sendto.c         |    4 ++--
 widgets/misc/e-attachment-handler.c                |    4 ++--
 widgets/misc/e-attachment-paned.c                  |    3 +++
 widgets/misc/e-attachment-store.c                  |    3 +++
 widgets/misc/e-focus-tracker.c                     |    3 +++
 widgets/misc/e-preview-pane.c                      |    3 +++
 widgets/misc/e-search-bar.c                        |    3 +++
 56 files changed, 215 insertions(+), 8 deletions(-)
---
diff --git a/addressbook/gui/widgets/e-addressbook-selector.c b/addressbook/gui/widgets/e-addressbook-selector.c
index 2402b00..402fcf9 100644
--- a/addressbook/gui/widgets/e-addressbook-selector.c
+++ b/addressbook/gui/widgets/e-addressbook-selector.c
@@ -230,6 +230,9 @@ addressbook_selector_constructed (GObject *object)
 
 	selector = E_SOURCE_SELECTOR (object);
 	addressbook_selector_load_primary_source (selector);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static gboolean
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index ecb6ea7..0f7bacd 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -584,6 +584,9 @@ addressbook_view_constructed (GObject *object)
 	 * view in GalViewInstance::loaded signal handlers. */
 
 	g_free (uri);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 1714ef4..08b6ac7 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 11dbe13..260778d 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 9486ef6..8de1b09 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 d4e1c13..8021339 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
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index 802e90d..f38bc12 100644
--- a/calendar/gui/e-memo-table.c
+++ b/calendar/gui/e-memo-table.c
@@ -417,6 +417,9 @@ memo_table_constructed (GObject *object)
 	a11y = gtk_widget_get_accessible (GTK_WIDGET (memo_table));
 	if (a11y)
 		atk_object_set_name (a11y, _("Memos"));
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static gboolean
diff --git a/calendar/gui/e-task-table.c b/calendar/gui/e-task-table.c
index fd6b2c1..2911363 100644
--- a/calendar/gui/e-task-table.c
+++ b/calendar/gui/e-task-table.c
@@ -634,6 +634,9 @@ task_table_constructed (GObject *object)
 	a11y = gtk_widget_get_accessible (GTK_WIDGET (task_table));
 	if (a11y)
 		atk_object_set_name (a11y, _("Tasks"));
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static gboolean
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 3945003..c27cfcc 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -489,6 +489,9 @@ gnome_calendar_constructed (GObject *object)
 		G_CALLBACK (gnome_calendar_notify_week_start_day_cb), gcal);
 
 	gnome_calendar_goto_today (gcal);
+
+	if (G_OBJECT_CLASS (gnome_calendar_parent_class)->constructed)
+		G_OBJECT_CLASS (gnome_calendar_parent_class)->constructed (object);
 }
 
 /* Class initialization function for the gnome calendar */
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 8f74bad..227df24 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2126,6 +2126,9 @@ msg_composer_constructed (GObject *object)
 	e_plugin_ui_enable_manager (ui_manager, id);
 
 	e_extensible_load_extensions (E_EXTENSIBLE (composer));
+
+	if (G_OBJECT_CLASS (e_msg_composer_parent_class)->constructed)
+		G_OBJECT_CLASS (e_msg_composer_parent_class)->constructed (object);
 }
 
 static void
diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c
index 2639196..81a8474 100644
--- a/e-util/e-alert-dialog.c
+++ b/e-util/e-alert-dialog.c
@@ -218,6 +218,9 @@ alert_dialog_constructed (GObject *object)
 	gtk_widget_show (widget);
 
 	pango_attr_list_unref (list);
+
+	if (G_OBJECT_CLASS (e_alert_dialog_parent_class)->constructed)
+		G_OBJECT_CLASS (e_alert_dialog_parent_class)->constructed (object);
 }
 
 static void
diff --git a/e-util/e-alert.c b/e-util/e-alert.c
index 9f7a801..9d55c40 100644
--- a/e-util/e-alert.c
+++ b/e-util/e-alert.c
@@ -558,6 +558,9 @@ alert_constructed (GObject *object)
 
 		button = button->next;
 	}
+
+	if (G_OBJECT_CLASS (e_alert_parent_class)->constructed)
+		G_OBJECT_CLASS (e_alert_parent_class)->constructed (object);
 }
 
 static void
diff --git a/e-util/e-extension.c b/e-util/e-extension.c
index 75caf5a..1bcef90 100644
--- a/e-util/e-extension.c
+++ b/e-util/e-extension.c
@@ -127,6 +127,9 @@ extension_constructed (GObject *object)
 	/* This allows subclasses to chain up safely since GObject
 	 * does not implement this method, and we might want to do
 	 * something here in the future. */
+
+	if (G_OBJECT_CLASS (e_extension_parent_class)->constructed)
+		G_OBJECT_CLASS (e_extension_parent_class)->constructed (object);
 }
 
 static void
diff --git a/mail/e-mail-attachment-bar.c b/mail/e-mail-attachment-bar.c
index 8ba46cd..7d974dd 100644
--- a/mail/e-mail-attachment-bar.c
+++ b/mail/e-mail-attachment-bar.c
@@ -320,6 +320,9 @@ mail_attachment_bar_constructed (GObject *object)
 
 	key = "/apps/evolution/shell/attachment_view";
 	gconf_bridge_bind_property (bridge, key, object, "active-view");
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 8c47d1a..93262ec 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -520,6 +520,9 @@ mail_backend_constructed (GObject *object)
 	/* Defer initializing CamelStores until after the main loop
 	 * has started, so migration has a chance to run first. */
 	g_idle_add ((GSourceFunc) mail_backend_idle_cb, shell_backend);
+
+	if (G_OBJECT_CLASS (e_mail_backend_parent_class)->constructed)
+		G_OBJECT_CLASS (e_mail_backend_parent_class)->constructed (object);
 }
 
 static void
diff --git a/mail/e-mail-label-dialog.c b/mail/e-mail-label-dialog.c
index 9a9f210..c2eada3 100644
--- a/mail/e-mail-label-dialog.c
+++ b/mail/e-mail-label-dialog.c
@@ -138,6 +138,9 @@ mail_label_dialog_constructed (GObject *object)
 	gtk_container_set_border_width (GTK_CONTAINER (object), 12);
 	gtk_container_set_border_width (GTK_CONTAINER (action_area), 0);
 	gtk_container_set_border_width (GTK_CONTAINER (content_area), 0);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/mail/e-mail-label-list-store.c b/mail/e-mail-label-list-store.c
index 6930e21..5a22f72 100644
--- a/mail/e-mail-label-list-store.c
+++ b/mail/e-mail-label-list-store.c
@@ -180,6 +180,9 @@ mail_label_list_store_constructed (GObject *object)
 		bridge, key, GTK_LIST_STORE (store));
 
 	mail_label_list_store_ensure_defaults (store);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/mail/e-mail-notebook-view.c b/mail/e-mail-notebook-view.c
index c0fbcf5..4a7e7d9 100644
--- a/mail/e-mail-notebook-view.c
+++ b/mail/e-mail-notebook-view.c
@@ -567,6 +567,9 @@ mail_notebook_view_constructed (GObject *object)
 	g_signal_connect (
 		priv->book, "switch-page",
 		G_CALLBACK (mnv_page_changed), object);
+
+	if (G_OBJECT_CLASS (e_mail_notebook_view_parent_class)->constructed)
+		G_OBJECT_CLASS (e_mail_notebook_view_parent_class)->constructed (object);
 }
 
 static void
diff --git a/mail/e-mail-paned-view.c b/mail/e-mail-paned-view.c
index e09b4d6..384e0e1 100644
--- a/mail/e-mail-paned-view.c
+++ b/mail/e-mail-paned-view.c
@@ -682,6 +682,9 @@ mail_paned_view_constructed (GObject *object)
 	/* Do this after creating the message list.  Our
 	 * set_preview_visible() method relies on it. */
 	e_mail_view_set_preview_visible (view, TRUE);
+
+	if (G_OBJECT_CLASS (e_mail_paned_view_parent_class)->constructed)
+		G_OBJECT_CLASS (e_mail_paned_view_parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/addressbook/e-book-shell-backend.c b/modules/addressbook/e-book-shell-backend.c
index 1688d36..9f56409 100644
--- a/modules/addressbook/e-book-shell-backend.c
+++ b/modules/addressbook/e-book-shell-backend.c
@@ -510,6 +510,9 @@ book_shell_backend_constructed (GObject *object)
 	/* Initialize preferences after the main loop starts so
 	 * that all EPlugins and EPluginHooks are loaded first. */
 	g_idle_add ((GSourceFunc) book_shell_backend_init_preferences, shell);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/calendar/e-cal-config-calendar-item.c b/modules/calendar/e-cal-config-calendar-item.c
index 45d1797..f2116e6 100644
--- a/modules/calendar/e-cal-config-calendar-item.c
+++ b/modules/calendar/e-cal-config-calendar-item.c
@@ -22,6 +22,8 @@
 #include <e-util/e-extension.h>
 #include <misc/e-calendar-item.h>
 
+static gpointer parent_class;
+
 static void
 cal_config_calendar_item_constructed (GObject *object)
 {
@@ -45,6 +47,9 @@ cal_config_calendar_item_constructed (GObject *object)
 		shell_settings, "cal-week-start-day",
 		extensible, "week-start-day",
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -52,6 +57,8 @@ cal_config_calendar_item_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = cal_config_calendar_item_constructed;
 
diff --git a/modules/calendar/e-cal-config-comp-editor.c b/modules/calendar/e-cal-config-comp-editor.c
index 327bcd4..ae8753d 100644
--- a/modules/calendar/e-cal-config-comp-editor.c
+++ b/modules/calendar/e-cal-config-comp-editor.c
@@ -22,6 +22,8 @@
 #include <e-util/e-extension.h>
 #include <calendar/gui/dialogs/comp-editor.h>
 
+static gpointer parent_class;
+
 static void
 cal_config_comp_editor_constructed (GObject *object)
 {
@@ -65,6 +67,9 @@ cal_config_comp_editor_constructed (GObject *object)
 		shell_settings, "cal-work-day-start-minute",
 		extensible, "work-day-start-minute",
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -72,6 +77,8 @@ cal_config_comp_editor_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = cal_config_comp_editor_constructed;
 
diff --git a/modules/calendar/e-cal-config-date-edit.c b/modules/calendar/e-cal-config-date-edit.c
index 594dee7..c26db3e 100644
--- a/modules/calendar/e-cal-config-date-edit.c
+++ b/modules/calendar/e-cal-config-date-edit.c
@@ -22,6 +22,8 @@
 #include <e-util/e-extension.h>
 #include <misc/e-dateedit.h>
 
+static gpointer parent_class;
+
 static void
 cal_config_date_edit_constructed (GObject *object)
 {
@@ -45,6 +47,9 @@ cal_config_date_edit_constructed (GObject *object)
 		shell_settings, "cal-week-start-day",
 		extensible, "week-start-day",
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -52,6 +57,8 @@ cal_config_date_edit_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = cal_config_date_edit_constructed;
 
diff --git a/modules/calendar/e-cal-config-meeting-store.c b/modules/calendar/e-cal-config-meeting-store.c
index f9babc5..1e4dc46 100644
--- a/modules/calendar/e-cal-config-meeting-store.c
+++ b/modules/calendar/e-cal-config-meeting-store.c
@@ -22,6 +22,8 @@
 #include <e-util/e-extension.h>
 #include <calendar/gui/e-meeting-store.h>
 
+static gpointer parent_class;
+
 static void
 cal_config_meeting_store_constructed (GObject *object)
 {
@@ -60,6 +62,9 @@ cal_config_meeting_store_constructed (GObject *object)
 		shell_settings, "cal-week-start-day",
 		extensible, "week-start-day",
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -67,6 +72,8 @@ cal_config_meeting_store_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = cal_config_meeting_store_constructed;
 
diff --git a/modules/calendar/e-cal-config-meeting-time-selector.c b/modules/calendar/e-cal-config-meeting-time-selector.c
index c4ae93e..280645d 100644
--- a/modules/calendar/e-cal-config-meeting-time-selector.c
+++ b/modules/calendar/e-cal-config-meeting-time-selector.c
@@ -22,6 +22,8 @@
 #include <e-util/e-extension.h>
 #include <calendar/gui/e-meeting-time-sel.h>
 
+static gpointer parent_class;
+
 static void
 cal_config_meeting_time_selector_constructed (GObject *object)
 {
@@ -50,6 +52,9 @@ cal_config_meeting_time_selector_constructed (GObject *object)
 		shell_settings, "cal-week-start-day",
 		extensible, "week-start-day",
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -57,6 +62,8 @@ cal_config_meeting_time_selector_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = cal_config_meeting_time_selector_constructed;
 
diff --git a/modules/calendar/e-cal-config-model.c b/modules/calendar/e-cal-config-model.c
index 9dd5ee9..5455123 100644
--- a/modules/calendar/e-cal-config-model.c
+++ b/modules/calendar/e-cal-config-model.c
@@ -23,6 +23,8 @@
 #include <calendar/gui/e-cal-model.h>
 #include <calendar/gui/e-cal-model-tasks.h>
 
+static gpointer parent_class;
+
 static void
 cal_config_model_constructed (GObject *object)
 {
@@ -113,6 +115,9 @@ cal_config_model_constructed (GObject *object)
 			extensible, "color-overdue",
 			G_BINDING_SYNC_CREATE);
 	}
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -120,6 +125,8 @@ cal_config_model_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = cal_config_model_constructed;
 
diff --git a/modules/calendar/e-cal-config-view.c b/modules/calendar/e-cal-config-view.c
index e2f769c..898a1d2 100644
--- a/modules/calendar/e-cal-config-view.c
+++ b/modules/calendar/e-cal-config-view.c
@@ -23,6 +23,8 @@
 #include <calendar/gui/e-day-view.h>
 #include <calendar/gui/e-week-view.h>
 
+static gpointer parent_class;
+
 static void
 cal_config_view_constructed (GObject *object)
 {
@@ -87,6 +89,9 @@ cal_config_view_constructed (GObject *object)
 			extensible, "show-event-end-times",
 			G_BINDING_SYNC_CREATE);
 	}
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -94,6 +99,8 @@ cal_config_view_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = cal_config_view_constructed;
 
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c
index 4988ab4..960b6c6 100644
--- a/modules/calendar/e-cal-shell-backend.c
+++ b/modules/calendar/e-cal-shell-backend.c
@@ -754,6 +754,9 @@ cal_shell_backend_constructed (GObject *object)
 		_("Calendar and Tasks"),
 		e_calendar_preferences_new,
 		600);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c
index e6658ed..5ce48a6 100644
--- a/modules/calendar/e-memo-shell-backend.c
+++ b/modules/calendar/e-memo-shell-backend.c
@@ -520,6 +520,9 @@ memo_shell_backend_constructed (GObject *object)
 		shell, "window-created",
 		G_CALLBACK (memo_shell_backend_window_created_cb),
 		shell_backend);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/calendar/e-task-shell-backend.c b/modules/calendar/e-task-shell-backend.c
index 6982d48..8bb3f47 100644
--- a/modules/calendar/e-task-shell-backend.c
+++ b/modules/calendar/e-task-shell-backend.c
@@ -525,6 +525,9 @@ task_shell_backend_constructed (GObject *object)
 		shell, "window-created",
 		G_CALLBACK (task_shell_backend_window_created_cb),
 		shell_backend);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/connman/evolution-connman.c b/modules/connman/evolution-connman.c
index d1c94d4..cf91198 100644
--- a/modules/connman/evolution-connman.c
+++ b/modules/connman/evolution-connman.c
@@ -179,6 +179,9 @@ static void
 network_manager_constructed (GObject *object)
 {
 	network_manager_connect (E_CONNMAN (object));
+
+	if (G_OBJECT_CLASS (e_connman_parent_class)->constructed)
+		G_OBJECT_CLASS (e_connman_parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/mail/e-mail-config-format-html.c b/modules/mail/e-mail-config-format-html.c
index 26071c0..fbf8c6d 100644
--- a/modules/mail/e-mail-config-format-html.c
+++ b/modules/mail/e-mail-config-format-html.c
@@ -23,6 +23,8 @@
 #include <e-util/e-extension.h>
 #include <mail/em-format-html.h>
 
+static gpointer parent_class;
+
 static void
 mail_config_format_html_constructed (GObject *object)
 {
@@ -63,6 +65,9 @@ mail_config_format_html_constructed (GObject *object)
 		shell_settings, "mail-show-real-date",
 		extensible, "show-real-date",
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -70,6 +75,8 @@ mail_config_format_html_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = mail_config_format_html_constructed;
 
diff --git a/modules/mail/e-mail-config-reader.c b/modules/mail/e-mail-config-reader.c
index f1e4322..6faad6a 100644
--- a/modules/mail/e-mail-config-reader.c
+++ b/modules/mail/e-mail-config-reader.c
@@ -22,6 +22,8 @@
 #include <e-util/e-extension.h>
 #include <mail/e-mail-reader.h>
 
+static gpointer parent_class;
+
 static void
 mail_config_reader_constructed (GObject *object)
 {
@@ -45,6 +47,9 @@ mail_config_reader_constructed (GObject *object)
 		shell_settings, "mail-reply-style",
 		extensible, "reply-style",
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -52,6 +57,8 @@ mail_config_reader_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = mail_config_reader_constructed;
 
diff --git a/modules/mail/e-mail-config-web-view.c b/modules/mail/e-mail-config-web-view.c
index 3157ff0..9dda757 100644
--- a/modules/mail/e-mail-config-web-view.c
+++ b/modules/mail/e-mail-config-web-view.c
@@ -22,6 +22,8 @@
 #include <e-util/e-extension.h>
 #include <misc/e-web-view.h>
 
+static gpointer parent_class;
+
 static void
 mail_config_web_view_realize (GtkWidget *widget)
 {
@@ -68,6 +70,9 @@ mail_config_web_view_constructed (GObject *object)
 	g_signal_connect (
 		extensible, "realize",
 		G_CALLBACK (mail_config_web_view_realize), NULL);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
@@ -75,6 +80,8 @@ mail_config_web_view_class_init (EExtensionClass *class)
 {
 	GObjectClass *object_class;
 
+	parent_class = g_type_class_peek_parent (class);
+
 	object_class = G_OBJECT_CLASS (class);
 	object_class->constructed = mail_config_web_view_constructed;
 
diff --git a/modules/mailto-handler/evolution-mailto-handler.c b/modules/mailto-handler/evolution-mailto-handler.c
index 01d1bd2..e12a945 100644
--- a/modules/mailto-handler/evolution-mailto-handler.c
+++ b/modules/mailto-handler/evolution-mailto-handler.c
@@ -248,6 +248,9 @@ mailto_handler_constructed (GObject *object)
 	g_signal_connect_swapped (
 		shell, "event::ready-to-start",
 		G_CALLBACK (mailto_handler_check), extension);
+
+	if (G_OBJECT_CLASS (e_mailto_handler_parent_class)->constructed)
+		G_OBJECT_CLASS (e_mailto_handler_parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/network-manager/evolution-network-manager.c b/modules/network-manager/evolution-network-manager.c
index 60cc0e8..68212ed 100644
--- a/modules/network-manager/evolution-network-manager.c
+++ b/modules/network-manager/evolution-network-manager.c
@@ -202,6 +202,9 @@ static void
 network_manager_constructed (GObject *object)
 {
 	network_manager_connect (E_NETWORK_MANAGER (object));
+
+	if (G_OBJECT_CLASS (e_network_manager_parent_class)->constructed)
+		G_OBJECT_CLASS (e_network_manager_parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/offline-alert/evolution-offline-alert.c b/modules/offline-alert/evolution-offline-alert.c
index c759e50..74a63bf 100644
--- a/modules/offline-alert/evolution-offline-alert.c
+++ b/modules/offline-alert/evolution-offline-alert.c
@@ -184,6 +184,9 @@ offline_alert_constructed (GObject *object)
 	g_signal_connect (
 		shell, "window-created",
 		G_CALLBACK (offline_alert_window_created_cb), extension);
+
+	if (G_OBJECT_CLASS (e_offline_alert_parent_class)->constructed)
+		G_OBJECT_CLASS (e_offline_alert_parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/plugin-manager/evolution-plugin-manager.c b/modules/plugin-manager/evolution-plugin-manager.c
index 5547198..322ac2d 100644
--- a/modules/plugin-manager/evolution-plugin-manager.c
+++ b/modules/plugin-manager/evolution-plugin-manager.c
@@ -501,6 +501,9 @@ plugin_manager_constructed (GObject *object)
 		action_name, GTK_UI_MANAGER_AUTO, FALSE);
 
 	g_object_unref (action);
+
+	if (G_OBJECT_CLASS (e_plugin_manager_parent_class)->constructed)
+		G_OBJECT_CLASS (e_plugin_manager_parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/startup-wizard/evolution-startup-wizard.c b/modules/startup-wizard/evolution-startup-wizard.c
index 6f07d68..928ff27 100644
--- a/modules/startup-wizard/evolution-startup-wizard.c
+++ b/modules/startup-wizard/evolution-startup-wizard.c
@@ -591,6 +591,9 @@ startup_wizard_constructed (GObject *object)
 	g_signal_connect_swapped (
 		shell, "event::ready-to-start",
 		G_CALLBACK (startup_wizard_run), extension);
+
+	if (G_OBJECT_CLASS (e_startup_wizard_parent_class)->constructed)
+		G_OBJECT_CLASS (e_startup_wizard_parent_class)->constructed (object);
 }
 
 static void
diff --git a/modules/windows-sens/evolution-windows-sens.c b/modules/windows-sens/evolution-windows-sens.c
index e0f70de..cc61db6 100644
--- a/modules/windows-sens/evolution-windows-sens.c
+++ b/modules/windows-sens/evolution-windows-sens.c
@@ -585,6 +585,9 @@ windows_sens_constructed (GObject *object)
 cleanup:
 		g_free (buf);
 	}
+
+	if (G_OBJECT_CLASS (e_windows_sens_parent_class)->constructed)
+		G_OBJECT_CLASS (e_windows_sens_parent_class)->constructed (object);
 }
 
 static void
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index afd69ff..62cfdd4 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -207,6 +207,9 @@ shell_content_constructed (GObject *object)
 		g_build_filename (config_dir, "searches.xml", NULL);
 
 	e_extensible_load_extensions (E_EXTENSIBLE (object));
+
+	if (G_OBJECT_CLASS (e_shell_content_parent_class)->constructed)
+		G_OBJECT_CLASS (e_shell_content_parent_class)->constructed (object);
 }
 
 static void
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index 6597eb0..2200ed3 100644
--- a/shell/e-shell-searchbar.c
+++ b/shell/e-shell-searchbar.c
@@ -737,6 +737,9 @@ shell_searchbar_constructed (GObject *object)
 	gtk_size_group_add_widget (size_group, widget);
 
 	e_extensible_load_extensions (E_EXTENSIBLE (object));
+
+	if (G_OBJECT_CLASS (e_shell_searchbar_parent_class)->constructed)
+		G_OBJECT_CLASS (e_shell_searchbar_parent_class)->constructed (object);
 }
 
 static void
diff --git a/shell/e-shell-sidebar.c b/shell/e-shell-sidebar.c
index b56e4c0..a7cb28e 100644
--- a/shell/e-shell-sidebar.c
+++ b/shell/e-shell-sidebar.c
@@ -214,6 +214,9 @@ shell_sidebar_constructed (GObject *object)
 	g_free (label);
 
 	e_extensible_load_extensions (E_EXTENSIBLE (object));
+
+	if (G_OBJECT_CLASS (e_shell_sidebar_parent_class)->constructed)
+		G_OBJECT_CLASS (e_shell_sidebar_parent_class)->constructed (object);
 }
 
 static void
diff --git a/shell/e-shell-taskbar.c b/shell/e-shell-taskbar.c
index 9be7c15..41863b6 100644
--- a/shell/e-shell-taskbar.c
+++ b/shell/e-shell-taskbar.c
@@ -272,6 +272,9 @@ shell_taskbar_constructed (GObject *object)
 	gtk_widget_set_size_request (GTK_WIDGET (shell_taskbar), 0, -1);
 
 	e_extensible_load_extensions (E_EXTENSIBLE (object));
+
+	if (G_OBJECT_CLASS (e_shell_taskbar_parent_class)->constructed)
+		G_OBJECT_CLASS (e_shell_taskbar_parent_class)->constructed (object);
 }
 
 static void
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 26b2264..fafab51 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -606,6 +606,9 @@ shell_view_constructed (GObject *object)
 	shell_view->priv->size_group = NULL;
 
 	e_extensible_load_extensions (E_EXTENSIBLE (object));
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static GtkWidget *
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 4f4e5c1..0ca0a5a 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -343,6 +343,9 @@ shell_window_constructed (GObject *object)
 	if (e_shell_get_meego_mode (shell_window->priv->shell) &&
 	    e_shell_get_small_screen_mode (shell_window->priv->shell))
 		gtk_window_set_decorated (GTK_WINDOW (object), FALSE);
+
+	if (G_OBJECT_CLASS (e_shell_window_parent_class)->constructed)
+		G_OBJECT_CLASS (e_shell_window_parent_class)->constructed (object);
 }
 
 static GtkWidget *
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 7ffe91b..b52d771 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -690,6 +690,9 @@ shell_constructed (GObject *object)
 
 	if (!unique_app_is_running (UNIQUE_APP (object)))
 		e_file_lock_create ();
+
+	if (G_OBJECT_CLASS (e_shell_parent_class)->constructed)
+		G_OBJECT_CLASS (e_shell_parent_class)->constructed (object);
 }
 
 static UniqueResponse
diff --git a/shell/test/e-test-shell-backend.c b/shell/test/e-test-shell-backend.c
index cbbd07c..2891f53 100644
--- a/shell/test/e-test-shell-backend.c
+++ b/shell/test/e-test-shell-backend.c
@@ -151,6 +151,9 @@ test_shell_backend_constructed (GObject *object)
 		shell, "window-destroyed",
 		G_CALLBACK (test_shell_backend_window_destroyed_cb),
 		shell_backend);
+
+	if (G_OBJECT_CLASS (parent_class)->constructed)
+		G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void
diff --git a/widgets/misc/e-attachment-handler-image.c b/widgets/misc/e-attachment-handler-image.c
index 2aedaa6..2eb646c 100644
--- a/widgets/misc/e-attachment-handler-image.c
+++ b/widgets/misc/e-attachment-handler-image.c
@@ -210,8 +210,8 @@ attachment_handler_image_constructed (GObject *object)
 	handler = E_ATTACHMENT_HANDLER (object);
 
 	/* Chain up to parent's constructed() method. */
-	G_OBJECT_CLASS (e_attachment_handler_image_parent_class)->
-		constructed (object);
+	if (G_OBJECT_CLASS (e_attachment_handler_image_parent_class)->constructed)
+		G_OBJECT_CLASS (e_attachment_handler_image_parent_class)->constructed (object);
 
 	view = e_attachment_handler_get_view (handler);
 
diff --git a/widgets/misc/e-attachment-handler-sendto.c b/widgets/misc/e-attachment-handler-sendto.c
index a508314..bea3e23 100644
--- a/widgets/misc/e-attachment-handler-sendto.c
+++ b/widgets/misc/e-attachment-handler-sendto.c
@@ -185,8 +185,8 @@ attachment_handler_sendto_constructed (GObject *object)
 	handler = E_ATTACHMENT_HANDLER (object);
 
 	/* Chain up to parent's constructed() method. */
-	G_OBJECT_CLASS (e_attachment_handler_sendto_parent_class)->
-		constructed (object);
+	if (G_OBJECT_CLASS (e_attachment_handler_sendto_parent_class)->constructed)
+		G_OBJECT_CLASS (e_attachment_handler_sendto_parent_class)->constructed (object);
 
 	view = e_attachment_handler_get_view (handler);
 	ui_manager = e_attachment_view_get_ui_manager (view);
diff --git a/widgets/misc/e-attachment-handler.c b/widgets/misc/e-attachment-handler.c
index 0b9c057..3f77136 100644
--- a/widgets/misc/e-attachment-handler.c
+++ b/widgets/misc/e-attachment-handler.c
@@ -56,8 +56,8 @@ attachment_handler_constructed (GObject *object)
 	e_attachment_view_add_drag_actions (view, drag_actions);
 
 	/* Chain up to parent's constructed() method. */
-	G_OBJECT_CLASS (e_attachment_handler_parent_class)->
-		constructed (object);
+	if (G_OBJECT_CLASS (e_attachment_handler_parent_class))
+		G_OBJECT_CLASS (e_attachment_handler_parent_class)->constructed (object);
 }
 
 static void
diff --git a/widgets/misc/e-attachment-paned.c b/widgets/misc/e-attachment-paned.c
index d632795..f15b871 100644
--- a/widgets/misc/e-attachment-paned.c
+++ b/widgets/misc/e-attachment-paned.c
@@ -352,6 +352,9 @@ attachment_paned_constructed (GObject *object)
 
 	key = "/apps/evolution/shell/attachment_view";
 	gconf_bridge_bind_property (bridge, key, object, "active-view");
+
+	if (G_OBJECT_CLASS (e_attachment_paned_parent_class)->constructed)
+		G_OBJECT_CLASS (e_attachment_paned_parent_class)->constructed (object);
 }
 
 static EAttachmentViewPrivate *
diff --git a/widgets/misc/e-attachment-store.c b/widgets/misc/e-attachment-store.c
index 8e2ad2e..d647a57 100644
--- a/widgets/misc/e-attachment-store.c
+++ b/widgets/misc/e-attachment-store.c
@@ -147,6 +147,9 @@ attachment_store_constructed (GObject *object)
 
 	key = "/apps/evolution/shell/file_chooser_folder";
 	gconf_bridge_bind_property (bridge, key, object, "current-folder-uri");
+
+	if (G_OBJECT_CLASS (e_attachment_store_parent_class)->constructed)
+		G_OBJECT_CLASS (e_attachment_store_parent_class)->constructed (object);
 }
 
 static void
diff --git a/widgets/misc/e-focus-tracker.c b/widgets/misc/e-focus-tracker.c
index 4abffac..429a62a 100644
--- a/widgets/misc/e-focus-tracker.c
+++ b/widgets/misc/e-focus-tracker.c
@@ -444,6 +444,9 @@ focus_tracker_constructed (GObject *object)
 	g_signal_connect_swapped (
 		clipboard, "owner-change",
 		G_CALLBACK (e_focus_tracker_update_actions), object);
+
+	if (G_OBJECT_CLASS (e_focus_tracker_parent_class)->constructed)
+		G_OBJECT_CLASS (e_focus_tracker_parent_class)->constructed (object);
 }
 
 static void
diff --git a/widgets/misc/e-preview-pane.c b/widgets/misc/e-preview-pane.c
index bbbb94f..f6617ad 100644
--- a/widgets/misc/e-preview-pane.c
+++ b/widgets/misc/e-preview-pane.c
@@ -146,6 +146,9 @@ preview_pane_constructed (GObject *object)
 	gtk_box_pack_start (GTK_BOX (object), widget, FALSE, FALSE, 0);
 	priv->search_bar = g_object_ref (widget);
 	gtk_widget_hide (widget);
+
+	if (G_OBJECT_CLASS (e_preview_pane_parent_class)->constructed)
+		G_OBJECT_CLASS (e_preview_pane_parent_class)->constructed (object);
 }
 
 static void
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 427f197..e89a5d3 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -344,6 +344,9 @@ search_bar_constructed (GObject *object)
 		priv->case_sensitive_button, "active",
 		G_BINDING_BIDIRECTIONAL |
 		G_BINDING_SYNC_CREATE);
+
+	if (G_OBJECT_CLASS (e_search_bar_parent_class)->constructed)
+		G_OBJECT_CLASS (e_search_bar_parent_class)->constructed (object);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]