Remove unused variables.

This commit is contained in:
Stephan Erb 2008-04-21 18:52:15 +00:00
parent 68fdb002df
commit dc266592b7

View file

@ -833,9 +833,6 @@ class RosterWindow:
# Eg. We redraw groups after we removed a entitiy # Eg. We redraw groups after we removed a entitiy
# and its empty groups # and its empty groups
return return
key = (group, account)
if key in self.draw_group_id:
del self.draw_group_id[key]
if self.regroup: if self.regroup:
accounts = [] accounts = []
else: else:
@ -5672,8 +5669,6 @@ class RosterWindow:
self.actions_menu_needs_rebuild = True self.actions_menu_needs_rebuild = True
self.regroup = gajim.config.get('mergeaccounts') self.regroup = gajim.config.get('mergeaccounts')
self.clicked_path = None # Used remember on wich row we clicked self.clicked_path = None # Used remember on wich row we clicked
self.draw_group_id = {}
self.draw_account_id = {}
if len(gajim.connections) < 2: # Do not merge accounts if only one exists if len(gajim.connections) < 2: # Do not merge accounts if only one exists
self.regroup = False self.regroup = False
#FIXME: When list_accel_closures will be wrapped in pygtk #FIXME: When list_accel_closures will be wrapped in pygtk