Mercurial > libervia-backend
comparison sat_frontends/quick_frontend/quick_contact_list.py @ 3065:f8e3789912d0
quick frontend (contact list): added "contactsFilled" event
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 29 Oct 2019 20:24:29 +0100 |
parents | ab2696e34d29 |
children | b067736d5099 |
comparison
equal
deleted
inserted
replaced
3064:d62fceccff22 | 3065:f8e3789912d0 |
---|---|
961 self._to_fill.remove(profile) | 961 self._to_fill.remove(profile) |
962 if not self._to_fill: | 962 if not self._to_fill: |
963 del self._to_fill | 963 del self._to_fill |
964 # we need a full update when all contacts are filled | 964 # we need a full update when all contacts are filled |
965 self.update() | 965 self.update() |
966 self.host.callListeners("contactsFilled", profile=profile) | |
966 | 967 |
967 def fill(self, profile=None): | 968 def fill(self, profile=None): |
968 """Get all contacts from backend, and fill the widget | 969 """Get all contacts from backend, and fill the widget |
969 | 970 |
970 Contacts will be cleared before refilling them | 971 Contacts will be cleared before refilling them |