comparison frontends/src/quick_frontend/quick_app.py @ 1374:0befb14ecf62

renamed tools.misc to tools.trigger
author Goffi <goffi@goffi.org>
date Thu, 19 Mar 2015 19:44:37 +0100
parents ba87b940f07a
children 017270e6eea4
comparison
equal deleted inserted replaced
1373:6d0e01809893 1374:0befb14ecf62
20 from sat.core.log import getLogger 20 from sat.core.log import getLogger
21 log = getLogger(__name__) 21 log = getLogger(__name__)
22 22
23 from sat.core.i18n import _ 23 from sat.core.i18n import _
24 from sat.core import exceptions 24 from sat.core import exceptions
25 from sat.tools.misc import TriggerManager 25 from sat.tools import trigger
26 26
27 from sat_frontends.tools import jid 27 from sat_frontends.tools import jid
28 from sat_frontends.quick_frontend import quick_widgets 28 from sat_frontends.quick_frontend import quick_widgets
29 from sat_frontends.quick_frontend import quick_menus 29 from sat_frontends.quick_frontend import quick_menus
30 from sat_frontends.quick_frontend import quick_chat, quick_games 30 from sat_frontends.quick_frontend import quick_chat, quick_games
221 221
222 # listeners 222 # listeners
223 self._listeners = {} # key: listener type ("avatar", "selected", etc), value: list of callbacks 223 self._listeners = {} # key: listener type ("avatar", "selected", etc), value: list of callbacks
224 224
225 # triggers 225 # triggers
226 self.trigger = TriggerManager() # trigger are used to change the default behaviour 226 self.trigger = trigger.TriggerManager() # trigger are used to change the default behaviour
227 227
228 ## bridge ## 228 ## bridge ##
229 try: 229 try:
230 self.bridge = create_bridge() 230 self.bridge = create_bridge()
231 except exceptions.BridgeExceptionNoService: 231 except exceptions.BridgeExceptionNoService: