aboutsummaryrefslogtreecommitdiff
path: root/src/inc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc.c')
-rw-r--r--src/inc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/inc.c b/src/inc.c
index 6ffbc2ce..ddcfe3ed 100644
--- a/src/inc.c
+++ b/src/inc.c
@@ -231,6 +231,14 @@ static void inc_finished(MainWindow *mainwin, GSList *msg_counts)
folderview_update_item(item, TRUE);
}
+ /* Notification */
+
+ if (new_messages > 0 &&
+ prefs_common.enable_newmsg_notify_sound &&
+ prefs_common.newmsg_notify_sound) {
+ play_sound(prefs_common.newmsg_notify_sound, TRUE);
+ }
+
if (new_messages > 0 &&
prefs_common.enable_newmsg_notify &&
prefs_common.newmsg_notify_cmd) {