diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-06 21:23:20 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-12-06 21:23:20 +0800 |
commit | 22b2d26d048476d4909bfcf348ce6567e0d006a0 (patch) | |
tree | 8902ba49d7ed1ac85a7a619bed720de6ca5cda66 /modules | |
parent | dad3815a75bef3a119ff65184b4c0fc4c3edffdf (diff) | |
download | gsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.tar gsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.tar.gz gsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.tar.bz2 gsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.tar.lz gsoc2013-evolution-22b2d26d048476d4909bfcf348ce6567e0d006a0.tar.xz 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')
21 files changed, 103 insertions, 0 deletions
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 |