update docstring
This commit is contained in:
parent
8896419494
commit
78fe138784
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ def _get_fade_color(treeview, selected, focused):
|
||||||
|
|
||||||
def get_scaled_pixbuf(pixbuf, kind):
|
def get_scaled_pixbuf(pixbuf, kind):
|
||||||
'''returns scaled pixbuf, keeping ratio etc or None
|
'''returns scaled pixbuf, keeping ratio etc or None
|
||||||
kind is either "chat" or "roster" or "notification" or "tooltip"'''
|
kind is either "chat", "roster", "notification", "tooltip", "vcard"'''
|
||||||
|
|
||||||
# resize to a width / height for the avatar not to have distortion
|
# resize to a width / height for the avatar not to have distortion
|
||||||
# (keep aspect ratio)
|
# (keep aspect ratio)
|
||||||
|
|
Loading…
Add table
Reference in a new issue