make only critical notifications display in presentation mode

ref T2212
This commit is contained in:
Mike Blumenkrantz 2015-03-30 12:21:14 -04:00
parent 617c2d96ff
commit d2d70fc013
1 changed files with 2 additions and 0 deletions

View File

@ -129,9 +129,11 @@ notification_popup_notify(E_Notification_Notify *n,
{
case E_NOTIFICATION_NOTIFY_URGENCY_LOW:
if (!notification_cfg->show_low) return;
if (e_config->mode.presentation) return;
break;
case E_NOTIFICATION_NOTIFY_URGENCY_NORMAL:
if (!notification_cfg->show_normal) return;
if (e_config->mode.presentation) return;
break;
case E_NOTIFICATION_NOTIFY_URGENCY_CRITICAL:
if (!notification_cfg->show_critical) return;