comparison frontends/sortilege/sortilege @ 111:6c927140ba82

sortilege fix: it launches again now
author Goffi <goffi@goffi.org>
date Tue, 29 Jun 2010 16:07:51 +0800
parents 8f2ed279784b
children
comparison
equal deleted inserted replaced
110:cb904fa7de3c 111:6c927140ba82
105 """clear all the contact list""" 105 """clear all the contact list"""
106 del self.jid_list[:] 106 del self.jid_list[:]
107 self.__index = 0 107 self.__index = 0
108 self.update() #FIXME: window is not updated correctly (contacts are still here until C-L) 108 self.update() #FIXME: window is not updated correctly (contacts are still here until C-L)
109 109
110 def replace(self, jid): 110 def replace(self, jid, groups=None):
111 """add a contact to the list""" 111 """add a contact to the list"""
112 name = self.CM.getAttr(jid,'name') 112 name = self.CM.getAttr(jid,'name')
113 self.jid_list.append(jid.short) 113 self.jid_list.append(jid.short)
114 self.update() 114 self.update()
115 115