[Trac_gajim-plugins] [Gajim Plugins] #23: Popup is open even if chat window is foreground
Gajim Plugins
trac at gajim.org
Sun Jun 17 16:15:47 CEST 2012
#23: Popup is open even if chat window is foreground
---------------------------+----------------------------
Reporter: OlegOAndreev | Owner: asterix
Type: defect | Status: new
Priority: minor | Component: TriggersPlugin
Resolution: | Keywords:
Blocked By: | Blocking:
---------------------------+----------------------------
Comment (by OlegOAndreev):
Probably, the easiest way to fix this (from my POV) is to add additional
condition to the line:
{{{
obj.sound_event = ''
obj.sound_file = rule['sound_file']
- if rule['popup'] == 'no':
+ if rule['popup'] == 'no' or obj.control_focused:
obj.do_popup = False
elif rule['popup'] == 'yes':
obj.do_popup = True
}}}
--
Ticket URL: <http://trac-plugins.gajim.org/ticket/23#comment:1>
Gajim Plugins <http://gajim.org/>
Gajim Plugins
More information about the Trac_gajim-plugins
mailing list