plugins fixes, improvements
This commit is contained in:
parent
fb74ea4455
commit
5a0843d98b
18 changed files with 50 additions and 38 deletions
|
|
@ -26,11 +26,12 @@ class Profile(contact.Contact, Singleton):
|
|||
:param tox: tox instance
|
||||
:param screen: ref to main screen
|
||||
"""
|
||||
super(Profile, self).__init__(tox.self_get_name(),
|
||||
tox.self_get_status_message(),
|
||||
screen.user_info,
|
||||
tox.self_get_address())
|
||||
Profile._instance = self
|
||||
contact.Contact.__init__(self,
|
||||
tox.self_get_name(),
|
||||
tox.self_get_status_message(),
|
||||
screen.user_info,
|
||||
tox.self_get_address())
|
||||
Singleton.__init__(self)
|
||||
self._screen = screen
|
||||
self._messages = screen.messages
|
||||
self._tox = tox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue