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 9d7a8a3..3df7c36 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 f34185b..2355bd8 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 c1711ab..cfbfd49 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 */