Changeset 7596

Show
Ignore:
Timestamp:
12/03/06 14:49:16 (2 years ago)
Author:
asterix
Message:

play gmail_received sound only if it is enabled. fixes #2697

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gajim.py

    r7586 r7596  
    11571157                                                {'from_address': gmessage['From']} 
    11581158                                         
     1159                        if gajim.config.get_per('soundevents', 'gmail_received', 'enabled'): 
     1160                                helpers.play_sound('gmail_received') 
    11591161                        path = gtkgui_helpers.get_path_to_generic_or_avatar(img) 
    1160                         helpers.play_sound('gmail_received') 
    11611162                        notify.popup(_('New E-mail'), jid, account, 'gmail', 
    11621163                                path_to_image = path, title = title, text = text)