Mercurial > libervia-web
comparison src/browser/sat_browser/chat.py @ 616:1c0d5a87c554 frontends_multi_profiles
browser_side: add and use method displayWidget to harmonize widget's management in Libervia (not completely done, there are some issues)
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 11 Feb 2015 11:18:13 +0100 |
parents | ed6d8f7c6026 |
children | 5baca9d46c34 |
comparison
equal
deleted
inserted
replaced
615:70872a83ef15 | 616:1c0d5a87c554 |
---|---|
358 #TODO | 358 #TODO |
359 pass | 359 pass |
360 | 360 |
361 | 361 |
362 quick_widgets.register(QuickChat, Chat) | 362 quick_widgets.register(QuickChat, Chat) |
363 base_widget.LiberviaWidget.addDropKey("CONTACT", lambda host, item: host.widgets.getOrCreateWidget(Chat, jid.JID(item), profile=C.PROF_KEY_NONE, on_new_widget=None, on_existing_widget=C.WIDGET_RECREATE)) | 363 base_widget.LiberviaWidget.addDropKey("CONTACT", lambda host, item: host.displayWidget(Chat, jid.JID(item), dropped=True)) |