Mercurial > libervia-backend
comparison sat_frontends/primitivus/chat.py @ 2765:378188abe941
misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Jan 2019 11:13:15 +0100 |
parents | df2bc2e704bc |
children | 003b8b4b56a7 |
comparison
equal
deleted
inserted
replaced
2764:92af49cde255 | 2765:378188abe941 |
---|---|
701 _(u"Change title"), | 701 _(u"Change title"), |
702 _(u"Enter the new title"), | 702 _(u"Enter the new title"), |
703 default_txt=new_subject if new_subject is not None else self.subject, | 703 default_txt=new_subject if new_subject is not None else self.subject, |
704 ) | 704 ) |
705 dialog.setCallback("ok", self._onSubjectDialogCb, dialog) | 705 dialog.setCallback("ok", self._onSubjectDialogCb, dialog) |
706 dialog.setCallback("cancel", lambda dummy: self.host.removePopUp(dialog)) | 706 dialog.setCallback("cancel", lambda __: self.host.removePopUp(dialog)) |
707 self.host.showPopUp(dialog) | 707 self.host.showPopUp(dialog) |
708 | 708 |
709 | 709 |
710 quick_widgets.register(quick_chat.QuickChat, Chat) | 710 quick_widgets.register(quick_chat.QuickChat, Chat) |
711 quick_widgets.register(quick_games.Tarot, game_tarot.TarotGame) | 711 quick_widgets.register(quick_games.Tarot, game_tarot.TarotGame) |