comparison frontends/wix/contact_list.py @ 125:8d611eb9ae48

primitivus: contact list enhancement - primitivus: contact list now display groups and sexy name (instead of bare jid) - primitivus: contact list now show an alert when somebody want to contact you, and its chat window is not on the screen - primitivus: cursor is now visible when going to chat window (useful to go back in logs)
author Goffi <goffi@goffi.org>
date Mon, 12 Jul 2010 17:50:00 +0800
parents 961e0898271f
children 2f8c86488b05
comparison
equal deleted inserted replaced
124:961e0898271f 125:8d611eb9ae48
93 #show[2]==color (or None) 93 #show[2]==color (or None)
94 show_html = "<font color='%s'>[%s]</font>" % (show[2], show[1]) if show[2] else "" 94 show_html = "<font color='%s'>[%s]</font>" % (show[2], show[1]) if show[2] else ""
95 status = self.CM.getAttr(jid,'status') or '' 95 status = self.CM.getAttr(jid,'status') or ''
96 avatar = self.CM.getAttr(jid,'avatar') or IMAGE_DIR+'/empty_avatar.png' 96 avatar = self.CM.getAttr(jid,'avatar') or IMAGE_DIR+'/empty_avatar.png'
97 97
98 #XXX: yes table I know :) but wxHTML* doesn't support CSS
99 html = """ 98 html = """
100 <table border='0'> 99 <table border='0'>
101 <td> 100 <td>
102 <img height='64' width='64' src='%s' /> 101 <img height='64' width='64' src='%s' />
103 </td> 102 </td>