From ca3faa17a9a26479ce39649976264f96cbaf5f4c Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 6 Dec 2010 14:23:20 +0100 Subject: Free/busy meeting view doesn't work due to non-working extension --- 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 +++++++ modules/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 +++ 10 files changed, 58 insertions(+) (limited to 'modules/calendar') 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 #include +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 #include +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 #include +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 #include +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 #include +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 #include +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 #include +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 -- cgit