Fix WM_URGENT removal by using the right signal name

This commit is contained in:
Chris Jones 2010-01-21 12:14:12 +00:00
parent e2db10fc09
commit 0f5b6e97a7
1 changed files with 2 additions and 2 deletions

View File

@ -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)