typo
This commit is contained in:
parent
dc7a15582a
commit
8c1992ce28
1 changed files with 3 additions and 4 deletions
|
@ -969,7 +969,7 @@ def get_pep_as_pixbuf(pep_class):
|
||||||
pixbuf = load_mood_icon(mood).get_pixbuf()
|
pixbuf = load_mood_icon(mood).get_pixbuf()
|
||||||
return pixbuf
|
return pixbuf
|
||||||
elif isinstance(pep_class, pep.UserTunePEP):
|
elif isinstance(pep_class, pep.UserTunePEP):
|
||||||
icon = gtkgui_helpers.get_icon_pixmap('audio-x-generic', quiet=True)
|
icon = get_icon_pixmap('audio-x-generic', quiet=True)
|
||||||
if not icon:
|
if not icon:
|
||||||
path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static',
|
path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static',
|
||||||
'music.png')
|
'music.png')
|
||||||
|
@ -993,10 +993,9 @@ def get_pep_as_pixbuf(pep_class):
|
||||||
else:
|
else:
|
||||||
return load_activity_icon('unknown').get_pixbuf()
|
return load_activity_icon('unknown').get_pixbuf()
|
||||||
elif isinstance(pep_class, pep.UserLocationPEP):
|
elif isinstance(pep_class, pep.UserLocationPEP):
|
||||||
icon = gtkgui_helpers.get_icon_pixmap('applications-internet',
|
icon = get_icon_pixmap('applications-internet', quiet=True)
|
||||||
quiet=True)
|
|
||||||
if not icon:
|
if not icon:
|
||||||
icon = gtkgui_helpers.get_icon_pixmap('gajim-earth')
|
icon = get_icon_pixmap('gajim-earth')
|
||||||
return icon
|
return icon
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue