mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
parent
fb78787d4e
commit
6a6196eebe
@ -147,7 +147,6 @@ void fe_common_core_init(void)
|
|||||||
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", "bell_beeps", FALSE);
|
|
||||||
settings_add_level("lookandfeel", "beep_msg_level", "");
|
settings_add_level("lookandfeel", "beep_msg_level", "");
|
||||||
settings_add_bool("lookandfeel", "beep_when_window_active", TRUE);
|
settings_add_bool("lookandfeel", "beep_when_window_active", TRUE);
|
||||||
settings_add_bool("lookandfeel", "beep_when_away", TRUE);
|
settings_add_bool("lookandfeel", "beep_when_away", TRUE);
|
||||||
|
@ -1224,11 +1224,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == 7) {
|
if (type == 4 && *ptr == FORMAT_STYLE_CLRTOEOL) {
|
||||||
/* bell */
|
|
||||||
if (settings_get_bool("bell_beeps"))
|
|
||||||
signal_emit("beep", 0);
|
|
||||||
} else if (type == 4 && *ptr == FORMAT_STYLE_CLRTOEOL) {
|
|
||||||
/* clear to end of line */
|
/* clear to end of line */
|
||||||
flags |= GUI_PRINT_FLAG_CLRTOEOL;
|
flags |= GUI_PRINT_FLAG_CLRTOEOL;
|
||||||
}
|
}
|
||||||
|
@ -611,12 +611,8 @@ static void key_yank_next_cutbuffer(void)
|
|||||||
guint length = 0;
|
guint length = 0;
|
||||||
char *cutbuffer;
|
char *cutbuffer;
|
||||||
|
|
||||||
if (!previous_yank_preceded) {
|
if (!previous_yank_preceded)
|
||||||
if (settings_get_bool("bell_beeps")) {
|
|
||||||
signal_emit("beep", 0);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
if (active_entry->kill_ring == NULL)
|
if (active_entry->kill_ring == NULL)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user