Set icon to hourglass when the connection is lost and reconnecting
patch 0b7e378659f9aec5eff13490775050929649bda2
Author: Enrique D. Bosch <presidev@AT@gmail.com>
Date: Sat Sep 8 21:34:57 CEST 2018
* Set icon to hourglass when the connection is lost and reconnecting
diff -rN -u old-idlebiff/idlebiff new-idlebiff/idlebiff
--- old-idlebiff/idlebiff 2024-11-10 20:47:37.623859892 +0100
+++ new-idlebiff/idlebiff 2024-11-10 20:47:37.623859892 +0100
@@ -231,6 +231,7 @@
set tevent($teidf) [ after ${conf(timeout)}000 \
{
+ update_img $::shared::img_chk
cancel_timeout
close $con
init
@@ -267,8 +268,10 @@
{
variable ::shared::ka
variable ::shared::idle
+ variable ::shared::img_chk
after cancel $ka
+ update_img $img_chk
set idle 0
catch { close $con }
after 3000 init