Commit 8c1992ce authored by Dicson's avatar Dicson


parent dc7a1558
......@@ -969,7 +969,7 @@ def get_pep_as_pixbuf(pep_class):
pixbuf = load_mood_icon(mood).get_pixbuf()
return pixbuf
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:
path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static',
......@@ -993,10 +993,9 @@ def get_pep_as_pixbuf(pep_class):
return load_activity_icon('unknown').get_pixbuf()
elif isinstance(pep_class, pep.UserLocationPEP):
icon = gtkgui_helpers.get_icon_pixmap('applications-internet',
icon = get_icon_pixmap('applications-internet', quiet=True)
if not icon:
icon = gtkgui_helpers.get_icon_pixmap('gajim-earth')
icon = get_icon_pixmap('gajim-earth')
return icon
return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment