comparison cagou/core/common.py @ 220:24f8ab7c08be

core: implemented showDialog so message/dialogs from QuickFrontend are displayed
author Goffi <goffi@goffi.org>
date Tue, 26 Jun 2018 07:11:16 +0200
parents 30be583dbabc
children 059c5b39032d
comparison
equal deleted inserted replaced
219:9faccd140119 220:24f8ab7c08be
54 host = G.host 54 host = G.host
55 if host.contact_lists[self.profile].isRoom(self.jid.bare): 55 if host.contact_lists[self.profile].isRoom(self.jid.bare):
56 wid.opacity = 0 56 wid.opacity = 0
57 return "" 57 return ""
58 else: 58 else:
59 return host.getAvatar(self.jid, profile=self.profile) or host.getDefaultAvatar(self.jid) 59 return (host.getAvatar(self.jid, profile=self.profile)
60 or host.getDefaultAvatar(self.jid))
60 61
61 62
62 class JidButton(ButtonBehavior, JidItem): 63 class JidButton(ButtonBehavior, JidItem):
63 pass 64 pass
64 65