summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-13 12:38:01 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-13 12:38:01 +0200
commitb67b223c26ad4cc1784070b8d69e85623814e2d2 (patch)
tree5df4442ffefb94fed950b9d85b2220f89dc8317a /src/fe-gtk/fe-gtk.c
parent0ec02c13c7b17f2ad74a834f8b7b2d1ecc2d4630 (diff)
Add option to omit alerts when marked as being away
Diffstat (limited to 'src/fe-gtk/fe-gtk.c')
-rw-r--r--src/fe-gtk/fe-gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 5b4260fd..f7264f73 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)
+	if (prefs.input_flash_hilight && !prefs.away_omit_alerts)
 		fe_flash_window (sess); /* taskbar flash */
 }