X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fplugins%2Fpgpcore%2Fsgpgme.c;h=990f37747956d29838fae1e2f2baa46f8b1f991f;hp=c4adca337c2f6038f3911b51cc23b59028dd37f7;hb=cb2e6d3aa42f1cf359d2b1b69c8496516f479319;hpb=0d0811eb49cb47752fd4cecb73fb5aa62925e111 diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c index c4adca337..990f37747 100644 --- a/src/plugins/pgpcore/sgpgme.c +++ b/src/plugins/pgpcore/sgpgme.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "sgpgme.h" #include "privacy.h" @@ -366,12 +367,13 @@ void sgpgme_init() if (prefs_gpg_get_config()->gpg_warning) { AlertValue val; - val = alertpanel_message_with_disable + val = alertpanel_full (_("Warning"), _("GnuPG is not installed properly, or needs " - "to be upgraded.\n" - "OpenPGP support disabled."), - NULL, NULL, NULL, ALERT_WARNING); + "to be upgraded.\n" + "OpenPGP support disabled."), + GTK_STOCK_CLOSE, NULL, NULL, TRUE, NULL, + ALERT_WARNING, G_ALERTDEFAULT); if (val & G_ALERTDISABLE) prefs_gpg_get_config()->gpg_warning = FALSE; }