(qt) Qt client should have the option to play a sound when the download completes, as the Mac and GTK+ clients do -- implemented.

This commit is contained in:
Jordan Lee
2013-01-20 23:57:09 +00:00
parent ac28b6df6e
commit b42a7ebdc3
6 changed files with 32 additions and 14 deletions

View File

@@ -299,9 +299,15 @@ PrefsDialog :: createDesktopTab( )
HIG * hig = new HIG( this );
hig->addSectionTitle( tr( "Desktop" ) );
hig->addWideControl( checkBoxNew( tr( "Show Transmission icon in the &notification area" ), Prefs::SHOW_TRAY_ICON ) );
hig->addWideControl( checkBoxNew( tr( "Start &minimized in notification area" ), Prefs::START_MINIMIZED ) );
hig->addWideControl( checkBoxNew( tr( "Show &popup notifications" ), Prefs::SHOW_DESKTOP_NOTIFICATION ) );
hig->addWideControl( checkBoxNew( tr( "Show Transmission icon in the &notification area" ), Prefs::SHOW_TRAY_ICON ) );
hig->addWideControl( checkBoxNew( tr( "Start &minimized in notification area" ), Prefs::START_MINIMIZED ) );
hig->addSectionDivider( );
hig->addSectionTitle( tr ("Notification") );
hig->addWideControl( checkBoxNew( tr( "Show a notification when torrents are a&dded" ), Prefs::SHOW_NOTIFICATION_ON_ADD ) );
hig->addWideControl( checkBoxNew( tr( "Show a notification when torrents &finish" ), Prefs::SHOW_NOTIFICATION_ON_COMPLETE ) );
hig->addWideControl( checkBoxNew( tr( "Play a &sound when torrents finish" ), Prefs::COMPLETE_SOUND_ENABLED ) );
hig->finish( );
return hig;