fix TB, call correctly ErrorDialog

This commit is contained in:
Yann Leboulanger 2007-05-09 20:28:21 +00:00
parent e8fb4160d1
commit aab2e0d14d
1 changed files with 2 additions and 2 deletions

View File

@ -1484,7 +1484,7 @@ class GroupchatControl(ChatControlBase):
try:
jid = helpers.parse_jid(jid)
except:
ErrorDialog(_('Invalid group chat Jabber ID'),
dialogs.ErrorDialog(_('Invalid group chat Jabber ID'),
_('The group chat Jabber ID has not allowed characters.'))
return
else:
@ -2023,4 +2023,4 @@ class GroupchatControl(ChatControlBase):
if widget.get_active():
self.grant_owner(widget, jid)
else:
self.revoke_owner(widget, jid)
self.revoke_owner(widget, jid)