s/list_users/contacts_list/

This commit is contained in:
Nikos Kouremenos 2005-07-20 22:15:35 +00:00
parent 884ff33383
commit ef252ead1e
3 changed files with 7 additions and 7 deletions

View File

@ -208,7 +208,7 @@ class GroupchatWindow(chat.Chat):
return self.contacts[room_jid].keys()
def remove_user(self, room_jid, nick):
"""Remove a user from the list_users"""
"""Remove a user from the contacts_list"""
model = self.list_treeview[room_jid].get_model()
iter = self.get_contact_iter(room_jid, nick)
if not iter:

View File

@ -173,8 +173,8 @@ class HistoryWindow:
xml = gtk.glade.XML(GTKGUI_GLADE, 'history_window', APP)
self.window = xml.get_widget('history_window')
if account and gajim.contacts[account].has_key(jid):
list_users = gajim.contacts[account][self.jid]
user = list_users[0]
contacts_list = gajim.contacts[account][self.jid]
user = contacts_list[0]
title = 'Conversation History with ' + user.name
else:
title = 'Conversation History with ' + jid

View File

@ -167,14 +167,14 @@ class TabbedChatWindow(chat.Chat):
def set_state_image(self, jid):
prio = 0
if gajim.contacts[self.account].has_key(jid):
list_users = gajim.contacts[self.account][jid]
contacts_list = gajim.contacts[self.account][jid]
else:
list_users = [self.contacts[jid]]
user = list_users[0]
contacts_list = [self.contacts[jid]]
user = contacts_list[0]
show = user.show
jid = user.jid
keyID = user.keyID
for u in list_users:
for u in contacts_list:
if u.priority > prio:
prio = u.priority
show = u.show