comparison frontends/src/primitivus/contact_list.py @ 812:084b52afdceb

frontends: fixed /me usage + renamed a couple of "type" parameters to type_
author Goffi <goffi@goffi.org>
date Tue, 04 Feb 2014 18:51:16 +0100
parents 1fe00f0c9a91
children b12706d164d7
comparison
equal deleted inserted replaced
811:1fe00f0c9a91 812:084b52afdceb
268 """add a contact to the list""" 268 """add a contact to the list"""
269 self.replace(jid,param_groups) 269 self.replace(jid,param_groups)
270 270
271 def setSpecial(self, special_jid, special_type, show=False): 271 def setSpecial(self, special_jid, special_type, show=False):
272 """Set entity as a special 272 """Set entity as a special
273 @param jid: jid of the entity 273 @param special_jid: jid of the entity
274 @param _type: special type (e.g.: "MUC") 274 @param special_type: special type (e.g.: "MUC")
275 @param show: True to display the dialog to chat with this entity 275 @param show: True to display the dialog to chat with this entity
276 """ 276 """
277 QuickContactList.setSpecial(self, special_jid, special_type, show) 277 QuickContactList.setSpecial(self, special_jid, special_type, show)
278 if None in self.groups: 278 if None in self.groups:
279 folded, group_jids = self.groups[None] 279 folded, group_jids = self.groups[None]