should be better

This commit is contained in:
Nikos Kouremenos 2005-07-15 19:58:47 +00:00
parent 6639ed3a4b
commit 1149556e4b
1 changed files with 1 additions and 1 deletions

View File

@ -1173,7 +1173,7 @@ _('To change the account name, it must be disconnected.')).get_response()
self.plugin.windows[name][kind][j].account = name
#upgrade account in systray
if hasattr(self.plugin, 'systray'):
if self.plugin.systray_enabled:
for list in self.plugin.systray.jids:
if list[0] == self.account:
list[0] = name