From 831794e150d890a64fc889887334accec4dd822a Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Mon, 15 Oct 2012 13:46:23 +0200 Subject: Only omit alerts when we're actually away --- src/fe-gtk/fe-gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk/fe-gtk.c') diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index f7264f73..a523d63b 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -587,7 +587,7 @@ fe_set_hilight (struct session *sess) if (sess->gui->is_tab) fe_set_tab_color (sess, 3); /* set tab to blue */ - if (prefs.input_flash_hilight && !prefs.away_omit_alerts) + if (prefs.input_flash_hilight && (!prefs.away_omit_alerts || !sess->server->is_away)) fe_flash_window (sess); /* taskbar flash */ } -- cgit 1.4.1