summary refs log tree commit diff stats
path: root/src/fe-gtk/plugin-tray.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2012-12-20 19:53:58 -0500
committerTingPing <tingping@tingping.se>2012-12-20 19:53:58 -0500
commitb259595c9d5d27686e26f8aac2a74f4ef189555a (patch)
tree81c74a9af59765fe7daf762eb91f13c65355546e /src/fe-gtk/plugin-tray.c
parent4524367cc037f6b3e173de96ea9b57afc2a0da5a (diff)
allow tray blinks to be static icons
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r--src/fe-gtk/plugin-tray.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index 1db0f630..9f0eff32 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -301,7 +301,8 @@ tray_set_flash (TrayIcon icon)
 	tray_stop_flash ();
 
 	gtk_status_icon_set_from_pixbuf (sticon, icon);
-	flash_tag = g_timeout_add (TIMEOUT, (GSourceFunc) tray_timeout_cb, icon);
+	if (prefs.hex_gui_tray_blink)
+		flash_tag = g_timeout_add (TIMEOUT, (GSourceFunc) tray_timeout_cb, icon);
 }
 
 void