tidy up and get the string translated
authorPaul <paul@claws-mail.org>
Mon, 17 Mar 2014 17:48:26 +0000 (17:48 +0000)
committerPaul <paul@claws-mail.org>
Mon, 17 Mar 2014 17:48:26 +0000 (17:48 +0000)
po/POTFILES.in
src/plugins/pgpcore/autocompletion.c
src/plugins/pgpcore/autocompletion.h

index 9d7a8a3142951fc965688539dff7527f36128da2..3df7c367d61c7fab315104e4f703b89c946d5014 100644 (file)
@@ -115,6 +115,7 @@ src/plugins/notification/notification_trayicon.c
 src/plugins/pdf_viewer/poppler_viewer.c
 src/plugins/python/composewindowtype.c
 src/plugins/python/python_plugin.c
+src/plugins/pgpcore/autocompletion.c
 src/plugins/pgpcore/passphrase.c
 src/plugins/pgpcore/pgp_viewer.c
 src/plugins/pgpcore/plugin.c
index f34185bb9a52fdbac92f88d09fe96eb5f64ec67e..2355bd81daabcc7cc292566c8d057f08467e6529 100644 (file)
 #include <gpgme.h>
 
 #include "autocompletion.h"
+#include "addr_compl.h"
+#include "prefs_gpg.h"
+#include "hooks.h"
+#include "utils.h"
 
 static guint autocompletion_hook_id = 0;
 
index c1711ab1859ef83dafcbbe12a29aebdd92c9a1b4..cfbfd49eaa2c47d114c70ac668bc2db47281137d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * PGP/Core keyring autocompletion
  *
- * Copyright (C) 2014 Christian Hesse <mail@eworm.de>
+ * Copyright (C) 2014 Christian Hesse <mail@eworm.de> and 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
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#ifndef GPGMEGTK_AUTOCOMPLETION_H
-#define GPGMEGTK_AUTOCOMPLETION_H
-
-#include <errno.h>
-#include <inttypes.h>
-#include <stdlib.h>
-
-#include <glib.h>
-#include <glib/gi18n.h>
-
-#include <gpgme.h>
-#include <plugins/pgpcore/prefs_gpg.h>
-
-#include "addr_compl.h"
-#include "claws.h"
-#include "hooks.h"
-#include "procmsg.h"
-#include "utils.h"
-
-static gboolean pgp_autocompletion_hook(gpointer source, gpointer data);
+#ifndef AUTOCOMPLETION_H
+#define AUTOCOMPLETION_H
 
 gboolean autocompletion_done(void);
 
 gint autocompletion_init(gchar ** error);
 
-#endif /* GPGMEGTK_AUTOCOMPLETION_H */
+#endif /* AUTOCOMPLETION_H */