Commit 48ec3e27 authored by Adam Schreiber's avatar Adam Schreiber

Fix notifications to use new graphics.

* libseahorse/seahorse-import.c:
* libseahorse/seahorse-signatures.c: Fix notifications to use new
graphics.
parent 213d9d30
2006-04-05 Adam Schreiber <sadam@clemson.edu>
* libseahorse/seahorse-import.c:
* libseahorse/seahorse-signatures.c: Fix notifications to use new
graphics.
2006-04-03 Adam Schreiber <sadam@clemson.edu>
* plugins/applet/seahorse-applet.c:
......
......@@ -31,7 +31,7 @@
/* Note that we can't use GTK stock here, as we hand these icons off
to other processes in the case of notifications */
#define ICON_PREFIX DATA_DIR "/pixmaps/seahorse/"
#define ICON_PREFIX DATA_DIR "/pixmaps/seahorse/48x48/"
void
seahorse_import_notify (guint keys)
......
......@@ -30,7 +30,7 @@
/* Note that we can't use GTK stock here, as we hand these icons off
to other processes in the case of notifications */
#define ICON_PREFIX DATA_DIR "/pixmaps/seahorse/"
#define ICON_PREFIX DATA_DIR "/pixmaps/seahorse/48x48/"
void
seahorse_signatures_notify (const gchar* data, gpgme_verify_result_t status)
......@@ -65,37 +65,37 @@ seahorse_signatures_notify (const gchar* data, gpgme_verify_result_t status)
case GPG_ERR_KEY_EXPIRED:
body = _("Signed by <i>%s <b>Expired</b></i> on %s.");
summary = _("%s: Invalid Signature");
icon = ICON_PREFIX "seahorse-bad.png";
icon = ICON_PREFIX "seahorse-sign-bad.png";
ok = TRUE;
break;
case GPG_ERR_SIG_EXPIRED:
body = _("Signed by <i>%s</i> on %s <b>Expired</b>.");
summary = _("%s: Expired Signature");
icon = ICON_PREFIX "seahorse-bad.png";
icon = ICON_PREFIX "seahorse-sign-bad.png";
ok = TRUE;
break;
case GPG_ERR_CERT_REVOKED:
body = _("Signed by <i>%s <b>Revoked</b></i> on %s.");
summary = _("%s: Invalid Signature");
icon = ICON_PREFIX "seahorse-bad.png";
icon = ICON_PREFIX "seahorse-sign-bad.png";
ok = TRUE;
break;
case GPG_ERR_NO_ERROR:
body = _("Signed by <i>%s</i> on %s.");
summary = _("%s: Good Signature");
if (icon == NULL)
icon = ICON_PREFIX "seahorse-good.png";
icon = ICON_PREFIX "seahorse-sign-ok.png";
ok = TRUE;
break;
case GPG_ERR_NO_PUBKEY:
body = _("Signing key not in keyring.");
summary = _("%s: Unknown Signature");
icon = ICON_PREFIX "seahorse-unknown.png";
icon = ICON_PREFIX "seahorse-sign-unknown.png";
break;
case GPG_ERR_BAD_SIGNATURE:
body = _("Bad or forged signature. The signed data was modified.");
summary = _("%s: Bad Signature");
icon = ICON_PREFIX "seahorse-bad.png";
icon = ICON_PREFIX "seahorse-sign-bad.png";
break;
case GPG_ERR_NO_DATA:
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment