aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
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 /modules/calendar
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 'modules/calendar')
-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
10 files changed, 58 insertions, 0 deletions
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