Added Sound Notifications changes by callix, for Friend Connects and Chat Messages, need to be set a *.wav file on Sound Settings.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-05-05 11:47:29 +00:00
parent 8b9b8e9f6b
commit c720a32610
11 changed files with 273 additions and 350 deletions

View file

@ -107,10 +107,10 @@ RSettingsWin::initStackedWidget()
stackedWidget->addWidget(new CryptoPage());
stackedWidget->addWidget(new ChatPage());
stackedWidget->addWidget(new AppearancePage());
#ifndef RS_RELEASE_VERSION
stackedWidget->addWidget(new FileAssociationsPage() );
// #ifndef RS_RELEASE_VERSION
// stackedWidget->addWidget(new FileAssociationsPage() );
stackedWidget->addWidget(new SoundPage() );
#endif
// #endif
loadSettings(); /* load saved settings */
@ -156,16 +156,16 @@ RSettingsWin::setNewPage(int page)
text = tr("Appearance");
pageicon->setPixmap(QPixmap(":/images/looknfeel.png"));
break;
#ifndef RS_RELEASE_VERSION
/*// #ifndef RS_RELEASE_VERSION
case Fileassociations:
text = tr("File Associations");
pageicon->setPixmap(QPixmap(":/images/filetype-association.png"));
break;
break;*/
case Sound:
text = tr("Sound");
pageicon->setPixmap(QPixmap(":/images/sound.png"));
break;
#endif
// #endif
default:
text = tr("UnknownPage");// impossible case
}