[evolution-patches] import eplugin activation



Hi everyone

Could I get some feedback on this patch? I'm writing an eimport plugin to 
import Outlook folders using libpst, but Evolution isn't loading these 
plugins because EImport is not registered.

This is bugzilla #372528

Thanks
Chris

Index: shell/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1600
diff -u -3 -p -r1.1600 ChangeLog
--- shell/ChangeLog	16 Oct 2006 18:46:41 -0000	1.1600
+++ shell/ChangeLog	29 Nov 2006 12:33:27 -0000
@@ -1,3 +1,8 @@
+2006-11-29  Chris Halls <halls debian org>
+
+	* main.c: Register import eplugin type. 
+	Fixes bug #372528.
+
 2006-10-17  Harish Krishnaswamy  <kharish novell com>
 
 	* main.c: (show_development_warning):  Update last
Index: shell/main.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/main.c,v
retrieving revision 1.188
diff -u -3 -p -r1.188 main.c
--- shell/main.c	16 Oct 2006 18:46:54 -0000	1.188
+++ shell/main.c	29 Nov 2006 12:33:27 -0000
@@ -75,6 +75,7 @@
 
 #include <misc/e-cursors.h>
 #include "e-util/e-error.h"
+#include "e-util/e-import.h"
 
 #include <fcntl.h>
 #include <signal.h>
@@ -598,6 +599,7 @@ main (int argc, char **argv)
 		e_plugin_hook_register_type(e_profile_event_hook_get_type());
 #endif
 		e_plugin_hook_register_type(e_plugin_type_hook_get_type());
+		e_plugin_hook_register_type(e_import_hook_get_type());
 		e_plugin_load_plugins();
 	}
 


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