diff options
author | Roy Marples <roy@marples.name> | 2010-04-27 22:31:05 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-04-27 22:31:05 +0800 |
commit | d6fd193f8f4487a10a3fbde7a5fff0bd21c54b21 (patch) | |
tree | 3fb95f3f0cbeabd3690723883ac49e01b5ccb728 /plugins | |
parent | bb8ce8052ef2eb6553b889086ca280431d088107 (diff) | |
download | gsoc2013-evolution-d6fd193f8f4487a10a3fbde7a5fff0bd21c54b21.tar.gz gsoc2013-evolution-d6fd193f8f4487a10a3fbde7a5fff0bd21c54b21.tar.zst gsoc2013-evolution-d6fd193f8f4487a10a3fbde7a5fff0bd21c54b21.zip |
Bug #610495 - Plugins should define e_plugin_lib_enable
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/addressbook-file/addressbook-file.c | 8 | ||||
-rw-r--r-- | plugins/audio-inline/audio-inline.c | 8 | ||||
-rw-r--r-- | plugins/backup-restore/backup-restore.c | 8 | ||||
-rw-r--r-- | plugins/calendar-file/calendar-file.c | 8 | ||||
-rw-r--r-- | plugins/calendar-http/calendar-http.c | 8 | ||||
-rw-r--r-- | plugins/default-mailer/default-mailer.c | 7 | ||||
-rw-r--r-- | plugins/default-source/default-source.c | 8 | ||||
-rw-r--r-- | plugins/external-editor/external-editor.c | 8 | ||||
-rw-r--r-- | plugins/face/face.c | 7 | ||||
-rw-r--r-- | plugins/imap-features/imap-headers.c | 7 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 7 | ||||
-rw-r--r-- | plugins/mailing-list-actions/mailing-list-actions.c | 7 | ||||
-rw-r--r-- | plugins/mark-all-read/mark-all-read.c | 7 | ||||
-rw-r--r-- | plugins/profiler/profiler.c | 8 | ||||
-rw-r--r-- | plugins/save-calendar/save-calendar.c | 9 | ||||
-rw-r--r-- | plugins/startup-wizard/startup-wizard.c | 7 | ||||
-rw-r--r-- | plugins/subject-thread/subject-thread.c | 7 | ||||
-rw-r--r-- | plugins/vcard-inline/vcard-inline.c | 7 |
18 files changed, 136 insertions, 0 deletions
diff --git a/plugins/addressbook-file/addressbook-file.c b/plugins/addressbook-file/addressbook-file.c index 2168d324cc..0adcf9a701 100644 --- a/plugins/addressbook-file/addressbook-file.c +++ b/plugins/addressbook-file/addressbook-file.c @@ -25,6 +25,14 @@ #include <libedataserver/e-source.h> #include <string.h> +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + GtkWidget *e_book_file_dummy (EPlugin *epl, EConfigHookItemFactoryData *data); GtkWidget * diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c index 68a1a241dc..983bf12438 100644 --- a/plugins/audio-inline/audio-inline.c +++ b/plugins/audio-inline/audio-inline.c @@ -34,6 +34,14 @@ #define d(x) +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + void org_gnome_audio_inline_format (gpointer ep, EMFormatHookTarget *t); static volatile gint org_gnome_audio_class_id_counter = 0; diff --git a/plugins/backup-restore/backup-restore.c b/plugins/backup-restore/backup-restore.c index 6174fa709f..87feab7a25 100644 --- a/plugins/backup-restore/backup-restore.c +++ b/plugins/backup-restore/backup-restore.c @@ -51,6 +51,14 @@ typedef enum _br_flags { BR_START = 1<<1 }br_flags; +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + static void backup (const gchar *filename, gboolean restart) { diff --git a/plugins/calendar-file/calendar-file.c b/plugins/calendar-file/calendar-file.c index 138826803d..9ed6b15025 100644 --- a/plugins/calendar-file/calendar-file.c +++ b/plugins/calendar-file/calendar-file.c @@ -27,6 +27,14 @@ #include <glib/gi18n.h> #include <string.h> +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + static void location_changed (GtkFileChooserButton *widget, ESource *source) { diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c index 1137d0617e..658f93d0e0 100644 --- a/plugins/calendar-http/calendar-http.c +++ b/plugins/calendar-http/calendar-http.c @@ -34,6 +34,14 @@ gboolean e_calendar_http_check (EPlugin *epl, EConfigHookPageCheckData *data); GtkWidget * e_calendar_http_secure (EPlugin *epl, EConfigHookItemFactoryData *data); GtkWidget *e_calendar_http_auth (EPlugin *epl, EConfigHookItemFactoryData *data); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + static void url_changed (GtkEntry *entry, ESource *source) { diff --git a/plugins/default-mailer/default-mailer.c b/plugins/default-mailer/default-mailer.c index 93c100631b..47be2d5e85 100644 --- a/plugins/default-mailer/default-mailer.c +++ b/plugins/default-mailer/default-mailer.c @@ -35,6 +35,13 @@ #define EVOLUTION_MAILTO_COMMAND "evolution --component=mail %s" void org_gnome_default_mailer_check_default (EPlugin *ep, ESEventTargetUpgrade *target); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} static gboolean evolution_is_default_mailer (const gchar *mailto_command) diff --git a/plugins/default-source/default-source.c b/plugins/default-source/default-source.c index db8423aec6..a938239808 100644 --- a/plugins/default-source/default-source.c +++ b/plugins/default-source/default-source.c @@ -37,6 +37,14 @@ GtkWidget *org_gnome_autocomplete_book (EPlugin *epl, EConfigHookItemFactoryData void commit_default_calendar (EPlugin *epl, EConfigTarget *target); void commit_default_book (EPlugin *epl, EConfigTarget *target); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + void commit_default_calendar (EPlugin *epl, EConfigTarget *target) { diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c index c569c2ee5e..11db7db3a2 100644 --- a/plugins/external-editor/external-editor.c +++ b/plugins/external-editor/external-editor.c @@ -64,6 +64,14 @@ static gboolean key_press_cb(GtkWidget * widget, GdkEventKey * event, EMsgCompos /* used to track when the external editor is active */ static GThread *editor_thread; +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + void ee_editor_command_changed (GtkWidget *textbox) { diff --git a/plugins/face/face.c b/plugins/face/face.c index 478f7888c6..468b9273c9 100644 --- a/plugins/face/face.c +++ b/plugins/face/face.c @@ -397,12 +397,19 @@ action_toggle_face_cb (GtkToggleAction *action, EMsgComposer *composer) /* ----------------------------------------------------------------- */ +gint e_plugin_lib_enable (EPlugin *ep, gint enable); gboolean e_plugin_ui_init (GtkUIManager *ui_manager, EMsgComposer *composer); GtkWidget *e_plugin_lib_get_configure_widget (EPlugin *epl); void face_handle_send (EPlugin *ep, EMEventTargetComposer *target); /* ----------------------------------------------------------------- */ +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + gboolean e_plugin_ui_init (GtkUIManager *ui_manager, EMsgComposer *composer) diff --git a/plugins/imap-features/imap-headers.c b/plugins/imap-features/imap-headers.c index 4d7b1df931..910986e592 100644 --- a/plugins/imap-features/imap-headers.c +++ b/plugins/imap-features/imap-headers.c @@ -59,6 +59,13 @@ static EPImapFeaturesData *ui = NULL; void imap_headers_abort (EPlugin *efp, EConfigHookItemFactoryData *data); void imap_headers_commit (EPlugin *efp, EConfigHookItemFactoryData *data); GtkWidget * org_gnome_imap_headers (EPlugin *epl, EConfigHookItemFactoryData *data); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} void imap_headers_abort (EPlugin *efp, EConfigHookItemFactoryData *data) diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 4c93d294c9..5e555434ca 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -133,6 +133,7 @@ struct _itip_puri { void format_itip (EPlugin *ep, EMFormatHookTarget *target); GtkWidget *itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data); static void itip_attachment_frame(EMFormat *emf, CamelStream *stream, EMFormatPURI *puri); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); typedef struct { struct _itip_puri *puri; @@ -148,6 +149,12 @@ typedef void (* FormatItipOpenFunc) (ECal *ecal, ECalendarStatus status, gpointe static gboolean check_is_instance (icalcomponent *icalcomp); +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + static icalproperty * find_attendee (icalcomponent *ical_comp, const gchar *address) { diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c index 2ed27c3e59..33101db8cd 100644 --- a/plugins/mailing-list-actions/mailing-list-actions.c +++ b/plugins/mailing-list-actions/mailing-list-actions.c @@ -89,6 +89,13 @@ gboolean mail_browser_init (GtkUIManager *ui_manager, EMailBrowser *browser); gboolean mail_shell_view_init (GtkUIManager *ui_manager, EShellView *shell_view); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} typedef struct { EMailReader *reader; diff --git a/plugins/mark-all-read/mark-all-read.c b/plugins/mark-all-read/mark-all-read.c index 44ec323cf1..4bc389e77c 100644 --- a/plugins/mark-all-read/mark-all-read.c +++ b/plugins/mark-all-read/mark-all-read.c @@ -45,6 +45,13 @@ gboolean e_plugin_ui_init (GtkUIManager *ui_manager, EShellView *shell_view); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} static void button_clicked_cb (GtkButton *button, diff --git a/plugins/profiler/profiler.c b/plugins/profiler/profiler.c index e3ecd07a9e..1a50b6e740 100644 --- a/plugins/profiler/profiler.c +++ b/plugins/profiler/profiler.c @@ -34,6 +34,14 @@ void org_gnome_evolution_profiler_event (EPlugin *ep, EProfileEventTarget *t); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + void org_gnome_evolution_profiler_event(EPlugin *ep, EProfileEventTarget *t) { diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index c8901b2d87..b7872a68d4 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -34,6 +34,7 @@ #include <libedataserverui/e-source-selector.h> #include <libecal/e-cal.h> #include <e-util/e-alert-dialog.h> +#include <e-util/e-plugin.h> #include <string.h> #include <shell/e-shell-sidebar.h> @@ -50,6 +51,14 @@ gboolean memo_list_save_as_init (GtkUIManager *ui_manager, gboolean task_list_save_as_init (GtkUIManager *ui_manager, EShellView *shell_view); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + enum { /* GtkComboBox enum */ DEST_NAME_COLUMN, DEST_HANDLER, diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c index fc012eaf7b..e232df4dea 100644 --- a/plugins/startup-wizard/startup-wizard.c +++ b/plugins/startup-wizard/startup-wizard.c @@ -34,6 +34,7 @@ #include "capplet/settings/mail-capplet-shell.h" +gint e_plugin_lib_enable (EPlugin *ep, gint enable); void startup_wizard (EPlugin *ep, ESEventTargetUpgrade *target); GtkWidget *startup_wizard_importer_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data); gboolean startup_wizard_check (EPlugin *ep, EConfigHookPageCheckData *check_data); @@ -46,6 +47,12 @@ static EImportImporter *import_importer; static GtkWidget *import_dialog, *import_progress, *import_label; static GSList *import_iterator, *import_importers; +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} + G_GNUC_NORETURN static void startup_wizard_terminate (void) { gtk_main_quit (); diff --git a/plugins/subject-thread/subject-thread.c b/plugins/subject-thread/subject-thread.c index 6c008c71ae..26012d3461 100644 --- a/plugins/subject-thread/subject-thread.c +++ b/plugins/subject-thread/subject-thread.c @@ -36,6 +36,13 @@ #define GCONF_KEY "/apps/evolution/mail/display/thread_subject" GtkWidget *org_gnome_subject_thread_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} static void toggled_cb (GtkWidget *widget, EConfig *config) diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c index 228d64ba2c..0b7756211f 100644 --- a/plugins/vcard-inline/vcard-inline.c +++ b/plugins/vcard-inline/vcard-inline.c @@ -49,6 +49,13 @@ static gint org_gnome_vcard_inline_classid; /* Forward Declarations */ void org_gnome_vcard_inline_format (gpointer ep, EMFormatHookTarget *target); +gint e_plugin_lib_enable (EPlugin *ep, gint enable); + +gint +e_plugin_lib_enable (EPlugin *ep, gint enable) +{ + return 0; +} static void org_gnome_vcard_inline_pobject_free (EMFormatHTMLPObject *object) |