mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Hide daychange.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4453 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
27ec7f0f1e
commit
c1abb843b2
@ -162,6 +162,7 @@ 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", "");
|
||||
|
@ -602,8 +602,11 @@ static void sig_print_text(void)
|
||||
signal_remove("print text", (SIGNAL_FUNC) sig_print_text);
|
||||
|
||||
/* day changed, print notice about it to every window */
|
||||
for (tmp = windows; tmp != NULL; tmp = tmp->next)
|
||||
window_print_daychange(tmp->data, tm);
|
||||
/* 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);
|
||||
}
|
||||
}
|
||||
|
||||
static int sig_check_daychange(void)
|
||||
|
Loading…
Reference in New Issue
Block a user