Changed my mind: Turn off the heartbeat icon on the OldTime screen

unconditionally if title is turned off.
This commit is contained in:
mmdolze
2013-05-04 14:45:28 +00:00
parent c9c3bfa9a9
commit 412f5e6605
3 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ v0.5dev (ongoing development)
* Build system: Rename configure.in to configure.ac
+ hd44780: Add support for FreeBSD's iic I2C framework
+ hd44780: New connection type 'piplate' (J. Brogdon)
* lcdproc client: Add option to turn off title and heartbeat on OldTime screen
* lcdproc client: Add option to turn off title on OldTime screen
+ glcd driver: Connection type 'x11' that draws to a X window (S. Meharg)
v0.5.6
+1 -3
View File
@@ -203,7 +203,6 @@ clock_screen(int rep, int display, int *flags_ptr)
if ((*flags_ptr & INITIALIZED) == 0) {
char tmp[257]; /* should be large enough for host name */
int disableHeart; /* Disables server heartbeat icon */
*flags_ptr |= INITIALIZED;
@@ -211,11 +210,10 @@ clock_screen(int rep, int display, int *flags_ptr)
timeFormat = config_get_string("OldTime", "TimeFormat", 0, "%H:%M:%S");
dateFormat = config_get_string("OldTime", "DateFormat", 0, "%b %d %Y");
showTitle = config_get_bool("OldTime", "ShowTitle", 0, 1);
disableHeart = config_get_bool("OldTime", "DisableHeartbeat", 0, 0);
sock_send_string(sock, "screen_add O\n");
sock_printf(sock, "screen_set O -name {Old Clock Screen: %s}\n", get_hostname());
if (disableHeart)
if (!showTitle)
sock_send_string(sock, "screen_set O -heartbeat off\n");
sock_send_string(sock, "widget_add O one string\n");
if (lcd_hgt >= 4) {
-3
View File
@@ -106,9 +106,6 @@ DateFormat="%x"
# Display the title bar in two-line mode. Note that with four lines or more
# the title is always shown. [default: true; legal: true, false]
#ShowTitle=false
# Disables the heartbeat icon in the top right corner. By default, the server
# setting for the heartbeat is used. [default: false; legal: true, false]
#DisableHeartbeat=true
[BigClock]