Mercurial > libervia-web
diff browser_side/menu.py @ 272:0cb9869b42b6
browser_side: bug fix for RoomAndContactsChooser (do not display the MUCs in the list)
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 21 Nov 2013 13:44:26 +0100 |
parents | 79970bf6af93 |
children | 0eba1c4f9c6f |
line wrap: on
line diff
--- a/browser_side/menu.py Tue Nov 19 21:21:49 2013 +0100 +++ b/browser_side/menu.py Thu Nov 21 13:44:26 2013 +0100 @@ -310,13 +310,13 @@ def onCollectiveRadio(self): def callback(room_jid, contacts): self.host.bridge.call('launchRadioCollective', None, contacts, room_jid) - dialog.RoomAndContactsChooser(self.host, callback, ok_button="Choose", visible=(False, True)) + dialog.RoomAndContactsChooser(self.host, callback, ok_button="Choose", title="Collective Radio", visible=(False, True)) #Game menu def onTarotGame(self): def onPlayersSelected(room_jid, other_players): self.host.bridge.call('launchTarotGame', None, other_players, room_jid) - dialog.RoomAndContactsChooser(self.host, onPlayersSelected, 3, title_invite="Please select 3 other players", visible=(False, True)) + dialog.RoomAndContactsChooser(self.host, onPlayersSelected, 3, title="Tarot", title_invite="Please select 3 other players", visible=(False, True)) def onXiangqiGame(self): Window.alert("A Xiangqi game is planed, but not available yet")