diff browser_side/card_game.py @ 55:d5266c41ca24

Roster list update, contact deletion + some refactoring
author Goffi <goffi@goffi.org>
date Sun, 29 May 2011 02:13:53 +0200
parents 71a9cc9b9d57
children 12e889a683ce
line wrap: on
line diff
--- a/browser_side/card_game.py	Sat May 28 20:18:14 2011 +0200
+++ b/browser_side/card_game.py	Sun May 29 02:13:53 2011 +0200
@@ -39,7 +39,7 @@
 from pyjamas.dnd import makeDraggable
 from pyjamas.ui.DragWidget import DragWidget, DragContainer
 from jid import JID
-from dialog import ConfirmDialog, SimpleDialog
+from dialog import ConfirmDialog, InfoDialog
 from tools import html_sanitize
 from datetime import datetime
 from time import time
@@ -414,4 +414,4 @@
             else:
                 title = "You <b>loose</b> :("
         body = re.sub(r'<.*?>',lambda x:'<br />' if '/elem' in x.group(0) else '', xml_data) #Q&D conversion to simple HTML text
-        SimpleDialog(title, body, _new_game).show()
+        InfoDialog(title, body, _new_game).show()