Support a setting which allows the removal of all bells (ie audible and visual). Closes LP #237758
This commit is contained in:
parent
3bbeb59d71
commit
c1ee7f2b9c
|
@ -520,8 +520,15 @@ text/plain
|
|||
# Set our audible belliness
|
||||
silent_bell = self.conf.silent_bell
|
||||
self._vte.set_audible_bell (not silent_bell)
|
||||
|
||||
# Set our visual flashiness
|
||||
self._vte.set_visible_bell (silent_bell)
|
||||
|
||||
# Override our flashybelliness
|
||||
if self.conf.force_no_bell:
|
||||
self._vte.set_visible_bell (False)
|
||||
self._vte.set_audible_bell (False)
|
||||
|
||||
# Set our scrolliness
|
||||
self._vte.set_scrollback_lines (self.conf.scrollback_lines)
|
||||
self._vte.set_scroll_on_keystroke (self.conf.scroll_on_keystroke)
|
||||
|
|
|
@ -129,6 +129,7 @@ class TerminatorConfValuestore:
|
|||
'handle_size' : -1,
|
||||
'focus_on_close' : 'auto',
|
||||
'f11_modifier' : False,
|
||||
'force_no_bell' : False,
|
||||
}
|
||||
|
||||
def __getattr__ (self, keyname):
|
||||
|
|
Loading…
Reference in New Issue