diff options
Diffstat (limited to 'plugins/mail-notification/mail-notification.c')
-rw-r--r-- | plugins/mail-notification/mail-notification.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index f8fd766cb1..961868ad56 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -562,11 +562,15 @@ new_notify_status (EMEventTargetFolder *t) if (!notify_init ("evolution-mail-notification")) fprintf (stderr,"notify init error"); +#ifdef HAVE_LIBNOTIFY_07 notify = notify_notification_new ( - _("New email"), safetext, - "mail-unread", NULL); + _("New email"), safetext, "mail-unread"); +#else + notify = notify_notification_new ( + _("New email"), safetext, "mail-unread", NULL); notify_notification_attach_to_status_icon ( notify, status_icon); +#endif /* HAVE_LIBNOTIFY_07 */ /* Check if actions are supported */ if (can_support_actions ()) { |