aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-06 21:23:20 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:08 +0800
commitca3faa17a9a26479ce39649976264f96cbaf5f4c (patch)
treefc27ef48d586b4976a4c3bbb3f1450a1afc46628
parent58807aa5702fa3993de19a2eb1104aaa53cedafb (diff)
downloadgsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar.gz
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar.bz2
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar.lz
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar.xz
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar.zst
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.zip
Free/busy meeting view doesn't work due to non-working extension
-rw-r--r--addressbook/gui/widgets/e-addressbook-selector.c3
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c3
-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
-rw-r--r--calendar/gui/e-memo-table.c3
-rw-r--r--calendar/gui/e-task-table.c3
-rw-r--r--calendar/gui/gnome-cal.c3
-rw-r--r--composer/e-msg-composer.c3
-rw-r--r--e-util/e-alert-dialog.c3
-rw-r--r--e-util/e-alert.c3
-rw-r--r--e-util/e-extension.c3
-rw-r--r--mail/e-mail-attachment-bar.c3
-rw-r--r--mail/e-mail-backend.c3
-rw-r--r--mail/e-mail-label-dialog.c3
-rw-r--r--mail/e-mail-label-list-store.c3
-rw-r--r--mail/e-mail-notebook-view.c3
-rw-r--r--mail/e-mail-paned-view.c3
-rw-r--r--modules/addressbook/e-book-shell-backend.c3
-rw-r--r--modules/calendar/e-cal-config-calendar-item.c7
-rw-r--r--modules/calendar/e-cal-config-comp-editor.c7
-rw-r--r--modules/calendar/e-cal-config-date-edit.c7
-rw-r--r--modules/calendar/e-cal-config-meeting-store.c7
-rw-r--r--modules/calendar/e-cal-config-meeting-time-selector.c7
-rw-r--r--modules/calendar/e-cal-config-model.c7
-rw-r--r--modules/calendar/e-cal-config-view.c7
-rw-r--r--modules/calendar/e-cal-shell-backend.c3
-rw-r--r--modules/calendar/e-memo-shell-backend.c3
-rw-r--r--modules/calendar/e-task-shell-backend.c3
-rw-r--r--modules/connman/evolution-connman.c3
-rw-r--r--modules/mail/e-mail-config-format-html.c7
-rw-r--r--modules/mail/e-mail-config-reader.c7
-rw-r--r--modules/mail/e-mail-config-web-view.c7
-rw-r--r--modules/mailto-handler/evolution-mailto-handler.c3
-rw-r--r--modules/network-manager/evolution-network-manager.c3
-rw-r--r--modules/offline-alert/evolution-offline-alert.c3
-rw-r--r--modules/plugin-manager/evolution-plugin-manager.c3
-rw-r--r--modules/startup-wizard/evolution-startup-wizard.c3
-rw-r--r--modules/windows-sens/evolution-windows-sens.c3
-rw-r--r--shell/e-shell-content.c3
-rw-r--r--shell/e-shell-searchbar.c3
-rw-r--r--shell/e-shell-sidebar.c3
-rw-r--r--shell/e-shell-taskbar.c3
-rw-r--r--shell/e-shell-view.c3
-rw-r--r--shell/e-shell-window.c3
-rw-r--r--shell/e-shell.c3
-rw-r--r--shell/test/e-test-shell-backend.c3
-rw-r--r--widgets/misc/e-attachment-handler-image.c4
-rw-r--r--widgets/misc/e-attachment-handler-sendto.c4
-rw-r--r--widgets/misc/e-attachment-handler.c4
-rw-r--r--widgets/misc/e-attachment-paned.c3
-rw-r--r--widgets/misc/e-attachment-store.c3
-rw-r--r--widgets/misc/e-focus-tracker.c3
-rw-r--r--widgets/misc/e-preview-pane.c3
-rw-r--r--widgets/misc/e-search-bar.c3
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 2402b00e84..402fcf9295 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 ecb6ea7ed5..0f7bacd781 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 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
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index 802e90d9d4..f38bc12e4a 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 fd6b2c1286..29113638dc 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 3945003a68..c27cfcc5e4 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 8f74badddf..227df24277 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 2639196ca7..81a84746f6 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 9f7a80162a..9d55c40ddf 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 75caf5adf4..1bcef90d76 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 8ba46cdccf..7d974dda5d 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 8c47d1a497..93262ec34c 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 9a9f210fe0..c2eada3203 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 6930e210aa..5a22f72512 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 c0fbcf534e..4a7e7d9bf5 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 f592701cb0..97b988eb55 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 1688d36fd9..9f56409ee5 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 45d1797714..f2116e63cf 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 327bcd4518..ae8753de74 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 594dee7f94..c26db3e2d6 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 f9babc53bf..1e4dc460b9 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 c4ae93e0ae..280645d4b9 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 9dd5ee9b8d..5455123c4c 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 e2f769c501..898a1d2be2 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 4988ab4617..960b6c6132 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 e6658ed6cd..5ce48a60b3 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 6982d48c4a..8bb3f47a66 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 d1c94d48fc..cf91198d90 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 26071c0614..fbf8c6d748 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 f1e43228d2..6faad6a551 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 3157ff07f9..9dda757bd5 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 01d1bd24b9..e12a945177 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 60cc0e806a..68212edbcf 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 c759e50249..74a63bf697 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 554719810e..322ac2d1d1 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 6f07d6856e..928ff277cb 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 e0f70de4e5..cc61db63b9 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 afd69ffdfa..62cfdd4176 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 6597eb0597..2200ed3fd1 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 b56e4c061d..a7cb28e803 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 9be7c1564e..41863b6750 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 26b22645c4..fafab518aa 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 4f4e5c1b82..0ca0a5a541 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 7ffe91b40d..b52d77186b 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 cbbd07cdb8..2891f53b64 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 2aedaa6023..2eb646c3f1 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 a508314705..bea3e2327f 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 0b9c057b65..3f77136152 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 d632795f66..f15b871b1c 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 8e2ad2ec23..d647a575dc 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 4abffac395..429a62af45 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 bbbb94f81b..f6617ad29a 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 ede2e2fb37..695eb112e7 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -383,6 +383,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