fix group renaming. Fixes #5316, see #4212

This commit is contained in:
Yann Leboulanger 2009-10-11 21:54:40 +02:00
parent 86d0ad3cc3
commit 8faf6d23c3
1 changed files with 2 additions and 2 deletions

View File

@ -849,7 +849,7 @@ class RosterWindow:
self.remove_contact(jid, account, force=True, backend=True) self.remove_contact(jid, account, force=True, backend=True)
return True return True
def rename_group(self, old_name, new_name): def rename_group(self, old_name, new_name, account):
""" """
rename a roster group rename a roster group
""" """
@ -2756,7 +2756,7 @@ class RosterWindow:
win.show_title() win.show_title()
elif row_type == 'group': elif row_type == 'group':
# in C_JID column, we hold the group name (which is not escaped) # in C_JID column, we hold the group name (which is not escaped)
self.rename_group(old_text, new_text) self.rename_group(old_text, new_text, account)
def on_canceled(): def on_canceled():
if 'rename' in gajim.interface.instances: if 'rename' in gajim.interface.instances: