#include "intl.h"
#include "version.h"
+#include "common/sylpheed.h"
#include "sgpgme.h"
#include "pgpmime.h"
+#include "prefs_gpg.h"
gint plugin_init(gchar **error)
{
return -1;
}
- if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 12, 34))) {
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 12, 164))) {
*error = g_strdup("Your sylpheed version is too old");
return -1;
}
sgpgme_init();
pgpmime_init();
+ prefs_gpg_init();
return 0;
}
void plugin_done(void)
{
+ prefs_gpg_done();
pgpmime_done();
sgpgme_done();
}
const gchar *plugin_desc(void)
{
- return _("");
+ return _("This plugin enables signature verification of "
+ "digitally signed messages, and decryption of "
+ "encrypted messages. \n"
+ "\n"
+ "You don't need it to send signed or encrypted emails.");
}
const gchar *plugin_type(void)