From eb87e8aa72986d42f43d2160b31ca65935b69b4d Mon Sep 17 00:00:00 2001 From: Wouter Coekaerts Date: Mon, 16 Apr 2007 19:10:46 +0000 Subject: [PATCH] revert last change. Already possible with /format -delete daychange (fixed in r4428) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4454 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-common-core.c | 1 - src/fe-common/core/fe-windows.c | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c index 6199b70d..be42812f 100644 --- a/src/fe-common/core/fe-common-core.c +++ b/src/fe-common/core/fe-common-core.c @@ -162,7 +162,6 @@ void fe_common_core_init(void) settings_add_bool("lookandfeel", "timestamps", TRUE); settings_add_level("lookandfeel", "timestamp_level", "ALL"); settings_add_time("lookandfeel", "timestamp_timeout", "0"); - settings_add_bool("lookandfeel", "hide_daychange", FALSE); settings_add_bool("lookandfeel", "bell_beeps", FALSE); settings_add_level("lookandfeel", "beep_msg_level", ""); diff --git a/src/fe-common/core/fe-windows.c b/src/fe-common/core/fe-windows.c index cf8714fc..4e0cba5d 100644 --- a/src/fe-common/core/fe-windows.c +++ b/src/fe-common/core/fe-windows.c @@ -602,11 +602,8 @@ static void sig_print_text(void) signal_remove("print text", (SIGNAL_FUNC) sig_print_text); /* day changed, print notice about it to every window */ - /* but only show it if we want it shown */ - if (!settings_get_bool("hide_daychange")) { - for (tmp = windows; tmp != NULL; tmp = tmp->next) - window_print_daychange(tmp->data, tm); - } + for (tmp = windows; tmp != NULL; tmp = tmp->next) + window_print_daychange(tmp->data, tm); } static int sig_check_daychange(void)