allow tray blinks to be static icons

This commit is contained in:
TingPing
2012-12-20 19:53:58 -05:00
parent 4524367cc0
commit b259595c9d
3 changed files with 5 additions and 1 deletions

View File

@@ -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