aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mail-notification/mail-notification.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index e6ff179222..b884b0272b 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -613,7 +613,7 @@ static void
do_play_sound (gboolean beep, gboolean use_theme, const gchar *file)
{
if (!beep) {
- if ( (file || *file) && !use_theme )
+ if (!use_theme && file && *file)
ca_context_play(mailnotification, 0,
CA_PROP_MEDIA_FILENAME, file,
NULL);