dropdown menu, smileys window

This commit is contained in:
ingvar1995
2016-06-14 21:47:03 +03:00
parent 7e63d9634a
commit 53a381222f
6 changed files with 200 additions and 34 deletions

View File

@ -24,6 +24,7 @@ class Friend(contact.Contact):
self._unsaved_messages = 0
self._history_loaded = False
self._receipts = 0
self._curr_text = ''
def __del__(self):
self.set_visibility(False)
@ -130,6 +131,14 @@ class Friend(contact.Contact):
except:
pass
def get_curr_text(self):
return self._curr_text
def set_curr_text(self, value):
self._curr_text = value
curr_text = property(get_curr_text, set_curr_text)
# -----------------------------------------------------------------------------------------------------------------
# Alias support
# -----------------------------------------------------------------------------------------------------------------