Specialize alertpanel icons
[claws.git] / src / sgpgme.c
index 1dddabdeed1b8d96721ea1156bd91fdaa33e8f1b..7c9551032266f8c1a2ad26e3026c6df4bb76d223 100644 (file)
@@ -214,7 +214,7 @@ gchar *sgpgme_sigstat_info_full(GpgmeCtx ctx, GpgmeSigStat status)
                                format = _("Signature expires %s\n");
                        else
                                format = _("Signature expired %s\n");
-                       g_string_sprintfa(siginfo, format, time);
+                       g_string_sprintfa(siginfo, format, timestr);
                }
                
                g_string_append(siginfo, "\n");
@@ -286,8 +286,9 @@ void sgpgme_init()
 
                        val = alertpanel_message_with_disable
                                (_("Warning"),
-                                _("GnuPG is not installed properly, or needs to be upgraded.\n"
-                                  "OpenPGP support disabled."));
+                                _("GnuPG is not installed properly, or needs "
+                                  "to be upgraded.\n"
+                                  "OpenPGP support disabled."), ALERT_WARNING);
                        if (val & G_ALERTDISABLE)
                                prefs_common.gpg_warning = FALSE;
                }