From 5e8d21e68d8d4a468fc3beda6133f6729cbc9264 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Jan 2001 03:19:06 +0000 Subject: [PATCH] /SET beep_on_msg -> beep_msg_level git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1146 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/printtext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fe-common/core/printtext.c b/src/fe-common/core/printtext.c index 6e21ed4d..f197026d 100644 --- a/src/fe-common/core/printtext.c +++ b/src/fe-common/core/printtext.c @@ -374,13 +374,14 @@ static void sig_gui_dialog(const char *type, const char *text) static void read_settings(void) { - beep_msg_level = level2bits(settings_get_str("beep_on_msg")); + beep_msg_level = level2bits(settings_get_str("beep_msg_level")); beep_when_away = settings_get_bool("beep_when_away"); } void printtext_init(void) { settings_add_int("misc", "timestamp_timeout", 0); + settings_add_str("lookandfeel", "beep_msg_level", ""); sending_print_starting = FALSE; signal_gui_print_text = signal_get_uniq_id("gui print text");