Changeset 13265


Ignore:
Timestamp:
Apr 7, 2012, 12:30:37 AM (10 years ago)
Author:
jordan
Message:

(trunk gtk) fix #4849 'Transmission-gtk Ignores Notification Sound Setting' with a patch from Jan Varho

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/notify.c

    r13107 r13265  
    190190    tr_torrent * tor;
    191191    const char * cmd = gtr_pref_string_get( PREF_KEY_TORRENT_COMPLETE_SOUND_COMMAND );
    192     g_spawn_command_line_async( cmd, NULL );
     192
     193    if( gtr_pref_flag_get( PREF_KEY_TORRENT_COMPLETE_SOUND_ENABLED ) )
     194        g_spawn_command_line_async( cmd, NULL );
    193195
    194196    if( ! gtr_pref_flag_get( PREF_KEY_TORRENT_COMPLETE_NOTIFICATION_ENABLED ) )
Note: See TracChangeset for help on using the changeset viewer.