1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Wouter Coekaerts 2007-04-16 19:10:46 +00:00 committed by coekie
parent c1abb843b2
commit eb87e8aa72
2 changed files with 2 additions and 6 deletions

View File

@ -162,7 +162,6 @@ void fe_common_core_init(void)
settings_add_bool("lookandfeel", "timestamps", TRUE); settings_add_bool("lookandfeel", "timestamps", TRUE);
settings_add_level("lookandfeel", "timestamp_level", "ALL"); settings_add_level("lookandfeel", "timestamp_level", "ALL");
settings_add_time("lookandfeel", "timestamp_timeout", "0"); settings_add_time("lookandfeel", "timestamp_timeout", "0");
settings_add_bool("lookandfeel", "hide_daychange", FALSE);
settings_add_bool("lookandfeel", "bell_beeps", FALSE); settings_add_bool("lookandfeel", "bell_beeps", FALSE);
settings_add_level("lookandfeel", "beep_msg_level", ""); settings_add_level("lookandfeel", "beep_msg_level", "");

View File

@ -602,11 +602,8 @@ static void sig_print_text(void)
signal_remove("print text", (SIGNAL_FUNC) sig_print_text); signal_remove("print text", (SIGNAL_FUNC) sig_print_text);
/* day changed, print notice about it to every window */ /* day changed, print notice about it to every window */
/* but only show it if we want it shown */ for (tmp = windows; tmp != NULL; tmp = tmp->next)
if (!settings_get_bool("hide_daychange")) { 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) static int sig_check_daychange(void)