add missing argument to remove_tab call. fixes a TB

This commit is contained in:
Yann Leboulanger 2007-03-31 12:12:12 +00:00
parent e0b88bb53c
commit 698b5c96f7
1 changed files with 2 additions and 1 deletions

View File

@ -3278,7 +3278,8 @@ class RosterWindow:
'''
self.close_all_from_dict(gajim.interface.instances[account])
for ctrl in gajim.interface.msg_win_mgr.get_controls(acct = account):
ctrl.parent_win.remove_tab(ctrl, force = force)
ctrl.parent_win.remove_tab(ctrl, ctrl.parent_win.CLOSE_CLOSE_BUTTON,
force = force)
def on_roster_window_delete_event(self, widget, event):
'''When we want to close the window'''