update copyright year
[claws.git] / src / plugins / litehtml_viewer / plugin.c
index 3b0dc939ff96e0f1b2c4eb8c233608d528452abe..51ad1f68dac37bf0c15d53665fb05d0fe938a40e 100644 (file)
@@ -1,9 +1,7 @@
 /*
- * Claws Mail -- A GTK+ based, lightweight, and fast e-mail client
- * Copyright(C) 1999-2015 the Claws Mail Team
- * == Fancy Plugin ==
- * This file Copyright (C) 2009-2015 Salvatore De Paolis
- * <iwkse@claws-mail.org> and the Claws Mail Team
+ * Claws Mail -- A GTK based, lightweight, and fast e-mail client
+ * Copyright(C) 2019 the Claws Mail Team
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3 of the License, or
 #include <mimeview.h>
 #include <plugin.h>
 
+#include "lh_prefs.h"
+
 extern MimeViewerFactory lh_viewer_factory;
 
 gint plugin_init(gchar **error)
 {
        debug_print("LH: plugin_init\n");
+       lh_prefs_init();
        mimeview_register_viewer_factory(&lh_viewer_factory);
        return 0;
 }
@@ -40,22 +41,23 @@ gboolean plugin_done(void)
 {
        debug_print("LH: plugin_done\n");
        mimeview_unregister_viewer_factory(&lh_viewer_factory);
+       lh_prefs_done();
        return TRUE;
 }
 
 const gchar *plugin_name(void)
 {
-       return "LiteHTML viewer";
+       return _("LiteHTML viewer");
 }
 
 const gchar *plugin_desc(void)
 {
-       return "[description goes here]";
+       return _("Viewer plugin for HTML emails, using the litehtml library (http://www.litehtml.com/).");
 }
 
 const gchar *plugin_type(void)
 {
-       return "GTK2";
+       return "GTK3";
 }
 
 const gchar *plugin_licence(void)