coding standards

This commit is contained in:
Yann Leboulanger 2008-09-02 20:31:05 +00:00
parent a530b92290
commit cf0b44d7fc
1 changed files with 20 additions and 22 deletions

View File

@ -119,8 +119,7 @@ class RosterWindow:
return account_iter return account_iter
def _get_group_iter(self, name, account, account_iter = None, def _get_group_iter(self, name, account, account_iter=None, model=None):
model = None):
''' '''
Return the gtk.TreeIter of the given group or None if not found. Return the gtk.TreeIter of the given group or None if not found.
@ -3999,8 +3998,7 @@ class RosterWindow:
### Cleanup assigned to Jim++ :-) ### Cleanup assigned to Jim++ :-)
################################################################################ ################################################################################
def get_appropriate_state_images(self, jid, size = '16', def get_appropriate_state_images(self, jid, size='16', icon_name='online'):
icon_name = 'online'):
'''check jid and return the appropriate state images dict for '''check jid and return the appropriate state images dict for
the demanded size. icon_name is taken into account when jid is from the demanded size. icon_name is taken into account when jid is from
transport: transport iconset doesn't contain all icons, so we fall back transport: transport iconset doesn't contain all icons, so we fall back