Show
Ignore:
Timestamp:
07/22/08 23:08:52 (4 months ago)
Author:
js
Message:

Show mood in chat window.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gtkgui_helpers.py

    r9488 r9986  
    883883        '''load an icon from the iconset in 16x16''' 
    884884        iconset = gajim.config.get('iconset') 
    885         path = os.path.join(helpers.get_iconset_path(iconset), '16x16' + '/') 
     885        path = os.path.join(helpers.get_iconset_path(iconset), '16x16', '') 
     886        icon_list = _load_icon_list([icon_name], path) 
     887        return icon_list[icon_name] 
     888 
     889def load_mood_icon(icon_name): 
     890        '''load an icon from the mood iconset in 16x16''' 
     891        iconset = gajim.config.get('mood_iconset') 
     892        path = os.path.join(helpers.get_mood_iconset_path(iconset), '') 
    886893        icon_list = _load_icon_list([icon_name], path) 
    887894        return icon_list[icon_name]