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