summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2007-04-16 19:10:46 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-04-16 19:10:46 +0000
commiteb87e8aa72986d42f43d2160b31ca65935b69b4d (patch)
tree511d5dc586146b34f8222e4055645cc4f915ce69 /src/fe-common
parentc1abb843b221cf1a897eb79ac1da9d42640dbfb0 (diff)
downloadirssi-eb87e8aa72986d42f43d2160b31ca65935b69b4d.zip
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
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-common-core.c1
-rw-r--r--src/fe-common/core/fe-windows.c7
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)