Mercurial > libervia-backend
diff frontends/quick_frontend/quick_app.py @ 221:96186f36d8cb
bridge: fixed newAlert parameters order
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 27 Dec 2010 21:56:12 +0100 |
parents | 7baee9bb37af |
children |
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_app.py Mon Dec 27 21:36:02 2010 +0100 +++ b/frontends/quick_frontend/quick_app.py Mon Dec 27 21:56:12 2010 +0100 @@ -204,11 +204,11 @@ self.current_action_ids_cb = {} self.chat_wins[win.short].printMessage(sender, msg, profile) - def newAlert(self, msg, title, type, profile): + def newAlert(self, msg, title, alert_type, profile): if not self.check_profile(profile): return - assert type in ['INFO','ERROR'] - self.showDialog(unicode(msg),unicode(title),type.lower()) + assert alert_type in ['INFO','ERROR'] + self.showDialog(unicode(msg),unicode(title),alert_type.lower()) def setStatusOnline(self, online=True):