talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit a1ba2ee6ef25eec23764761975f7033954af7c73
parent c2626fe4d6245396db23226f6055c492518e391f
Author: Paul <paul@claws-mail.org>
Date:   Mon, 17 Mar 2014 17:48:26 +0000

tidy up and get the string translated

Diffstat:
Mpo/POTFILES.in | 1+
Msrc/plugins/pgpcore/autocompletion.c | 4++++
Msrc/plugins/pgpcore/autocompletion.h | 26++++----------------------
3 files changed, 9 insertions(+), 22 deletions(-)

diff --git a/po/POTFILES.in b/po/POTFILES.in @@ -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 diff --git a/src/plugins/pgpcore/autocompletion.c b/src/plugins/pgpcore/autocompletion.c @@ -34,6 +34,10 @@ #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; diff --git a/src/plugins/pgpcore/autocompletion.h b/src/plugins/pgpcore/autocompletion.h @@ -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 @@ -18,29 +18,11 @@ * 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 */