comparison src/tools/misc.py @ 501:e9634d2e7b38

core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1: - QuickContactManagement is not used anymore and will be removed, ContactList + Core are used instead - disconnected contacts are now displayed in Primitivus (M-d to show/hide them) - avatars are temporary unavailable in wix - new bridge method: getContactsFromGroup
author Goffi <goffi@goffi.org>
date Tue, 25 Sep 2012 00:58:34 +0200
parents 2a072735e459
children 7ee15fbe8c08
comparison
equal deleted inserted replaced
500:00d3679976ab 501:e9634d2e7b38
53 53
54 def point(self, point_name, *args, **kwargs): 54 def point(self, point_name, *args, **kwargs):
55 """This put a trigger point 55 """This put a trigger point
56 All the trigger for that point will be run 56 All the trigger for that point will be run
57 @param point_name: name of the trigger point 57 @param point_name: name of the trigger point
58 @return: True if the action must be continue, False else""" 58 @return: True if the action must be continued, False else"""
59 if not self.__triggers.has_key(point_name): 59 if not self.__triggers.has_key(point_name):
60 return True 60 return True
61 61
62 for trigger in self.__triggers[point_name]: 62 for trigger in self.__triggers[point_name]:
63 if not trigger(*args, **kwargs): 63 if not trigger(*args, **kwargs):