aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
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 /modules/mail
parent58807aa5702fa3993de19a2eb1104aaa53cedafb (diff)
downloadgsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar.gz
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.tar.zst
gsoc2013-evolution-ca3faa17a9a26479ce39649976264f96cbaf5f4c.zip
Free/busy meeting view doesn't work due to non-working extension
Diffstat (limited to 'modules/mail')
-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
3 files changed, 21 insertions, 0 deletions
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;