Mercurial > libervia-web
diff browser_side/contact.py @ 267:a76243c02074
browser_side: changes regarding widgets and tabs:
- getOrCreateLiberviaWidget gets a tab_label argument to add widgets in a specific tab
- ChatPanel can be matched not only regarding the target jid but also the dialog type ("one2one", "group"...)
author | souliane <souliane@mailoo.org> |
---|---|
date | Sun, 17 Nov 2013 17:53:37 +0100 |
parents | 56a307f08ffe |
children | d868181d0649 |
line wrap: on
line diff
--- a/browser_side/contact.py Sun Nov 17 17:47:39 2013 +0100 +++ b/browser_side/contact.py Sun Nov 17 17:53:37 2013 +0100 @@ -173,7 +173,7 @@ # TODO: use the bare when all blogs can be retrieved node = JID(sender.jid).node web_panel = WebPanel(self.host, "/blog/%s" % node) - self.host.addTab(web_panel, "%s's blog" % node) + self.host.addTab("%s's blog" % node, web_panel) else: sender.onClick(sender)