Commit 3560deab authored by Dan Pascu's avatar Dan Pascu

Avoid notification overload and namespace collisions

parent bb6a8772
...@@ -300,7 +300,7 @@ class GoogleContactsManager(object): ...@@ -300,7 +300,7 @@ class GoogleContactsManager(object):
self._load_timer = None self._load_timer = None
notification_center = NotificationCenter() notification_center = NotificationCenter()
notification_center.add_observer(self, name='CFGSettingsObjectDidChange') notification_center.add_observer(self, name='CFGSettingsObjectDidChange', sender=SIPSimpleSettings())
notification_center.add_observer(self, name='SIPApplicationWillStart') notification_center.add_observer(self, name='SIPApplicationWillStart')
notification_center.add_observer(self, name='SIPApplicationWillEnd') notification_center.add_observer(self, name='SIPApplicationWillEnd')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment