Fix WM_URGENT removal by using the right signal name
This commit is contained in:
parent
e2db10fc09
commit
0f5b6e97a7
|
@ -562,11 +562,11 @@ for %s (%s)' % (name, urlplugin.__class__.__name__))
|
||||||
if self.config['force_no_bell'] == True:
|
if self.config['force_no_bell'] == True:
|
||||||
self.vte.set_audible_bell(False)
|
self.vte.set_audible_bell(False)
|
||||||
self.vte.set_visible_bell(False)
|
self.vte.set_visible_bell(False)
|
||||||
self.cnxids.remove_signal(self.vte, 'urgent_bell')
|
self.cnxids.remove_signal(self.vte, 'beep')
|
||||||
else:
|
else:
|
||||||
self.vte.set_audible_bell(self.config['audible_bell'])
|
self.vte.set_audible_bell(self.config['audible_bell'])
|
||||||
self.vte.set_visible_bell(self.config['visible_bell'])
|
self.vte.set_visible_bell(self.config['visible_bell'])
|
||||||
self.cnxids.remove_signal(self.vte, 'urgent_bell')
|
self.cnxids.remove_signal(self.vte, 'beep')
|
||||||
if self.config['urgent_bell'] == True:
|
if self.config['urgent_bell'] == True:
|
||||||
try:
|
try:
|
||||||
self.cnxids.new(self.vte, 'beep', self.on_beep)
|
self.cnxids.new(self.vte, 'beep', self.on_beep)
|
||||||
|
|
Loading…
Reference in New Issue