[annum] Disable importers support for now



commit 2934e4c40a13c904c121db8b7f98394ec773bf45
Author: Gustavo Noronha Silva <gustavo noronha collabora co uk>
Date:   Wed Jan 27 11:36:47 2010 -0200

    Disable importers support for now
    
    This should make us buildable with master Evolution. We'll get back to
    this when dealing with this feature, and we'll likely use new
    API/infrastructure provided by Evo then.
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=608175

 src/annum-shell-backend.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/annum-shell-backend.c b/src/annum-shell-backend.c
index ef0c38d..77b2aab 100644
--- a/src/annum-shell-backend.c
+++ b/src/annum-shell-backend.c
@@ -24,7 +24,6 @@
 #include "annum-shell-settings.h"
 #include "annum-shell-view.h"
 #include <calendar/gui/calendar-config.h>
-#include <calendar/importers/evolution-calendar-importer.h>
 #include <e-util/e-import.h>
 #include <glib/gi18n.h>
 #include <libecal/e-cal.h>
@@ -280,23 +279,6 @@ static void annum_shell_backend_ensure_sources (EShellBackend * shell_backend)
 		e_source_list_sync (priv->source_list, NULL);
 }
 
-static void annum_shell_backend_init_importers (void)
-{
-	EImportClass *import_class;
-	EImportImporter *importer;
-
-	import_class = g_type_class_ref (e_import_get_type ());
-
-	importer = gnome_calendar_importer_peek ();
-	e_import_class_add_importer (import_class, importer, NULL, NULL);
-
-	importer = ical_importer_peek ();
-	e_import_class_add_importer (import_class, importer, NULL, NULL);
-
-	importer = vcal_importer_peek ();
-	e_import_class_add_importer (import_class, importer, NULL, NULL);
-}
-
 static void annum_shell_backend_constructed (GObject * object)
 {
 	EShell *shell;
@@ -307,7 +289,6 @@ static void annum_shell_backend_constructed (GObject * object)
 
 	annum_shell_backend_ensure_sources (shell_backend);
 
-	annum_shell_backend_init_importers ();
 	annum_shell_backend_init_settings (shell);
 
 	/* We do not initialize preferences here, because preferences are in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]