merge gtk3 branch into master
[claws.git] / src / plugins / pgpcore / pgp_viewer.c
index d39b96a09b0baba6de6a2bbecc132ffb8968554c..8865c1c1b9b0b55dd5edc80b02023e50944016e0 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2021 the Claws Mail team
+ * Claws Mail -- a GTK based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2022 the Claws Mail team
  * This file Copyright (C) 2006 Colin Leroy <colin@colino.net>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -179,8 +179,8 @@ static void pgpview_show_mime_part(TextView *textview, MimeInfo *partinfo)
                        val = alertpanel(_("Key import"),
                                _("This key is not in your keyring. Do you want "
                                  "Claws Mail to try to import it?"),
-                                 _("_No"), _("from keyserver"), _("from Web Key Directory"),
-                                 ALERTFOCUS_SECOND);
+                                 NULL, _("_No"), NULL, _("from keyserver"),
+                                 NULL, _("from Web Key Directory"), ALERTFOCUS_SECOND);
                        GTK_EVENTS_FLUSH();
                }
                if (val == G_ALERTDEFAULT) {
@@ -308,7 +308,7 @@ static void pgpview_show_mime_part(TextView *textview, MimeInfo *partinfo)
        }
        gpgme_data_release(sigdata);
        gpgme_release(ctx);
-       textview_show_icon(textview, GTK_STOCK_DIALOG_AUTHENTICATION);
+       textview_show_icon(textview, "dialog-password");
 }