Mercurial > libervia-web
comparison src/browser/libervia_main.py @ 646:9972a24592b0 frontends_multi_profiles
browser side: fixed typo in newMessageHandler
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 25 Feb 2015 19:44:10 +0100 |
parents | 122b4483dac4 |
children | 6d3142b782c3 |
comparison
equal
deleted
inserted
replaced
645:122b4483dac4 | 646:9972a24592b0 |
---|---|
377 except KeyError: | 377 except KeyError: |
378 title = _('Announcement from %s') % from_jid | 378 title = _('Announcement from %s') % from_jid |
379 msg = strings.addURLToText(html_tools.XHTML2Text(msg)) | 379 msg = strings.addURLToText(html_tools.XHTML2Text(msg)) |
380 dialog.InfoDialog(title, msg).show() | 380 dialog.InfoDialog(title, msg).show() |
381 return | 381 return |
382 QuickApp.newMesageHandler(self, from_jid_s, msg, type_, to_jid_s, extra, profile) | 382 QuickApp.newMessageHandler(self, from_jid_s, msg, type_, to_jid_s, extra, profile) |
383 | 383 |
384 def disconnectedHandler(self, profile): | 384 def disconnectedHandler(self, profile): |
385 QuickApp.disconnectedHandler(self, profile) | 385 QuickApp.disconnectedHandler(self, profile) |
386 Window.getLocation().reload() | 386 Window.getLocation().reload() |
387 | 387 |