Reworked MessageComposer

- Added To, Cc, Bcc and Recommend friends
- Added group support
- Show state of the friends in real time
- Save state of the window in profile
- Translated into german

Added "Message group" to PeersDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-09-27 21:05:52 +00:00
parent baac505c15
commit 627b0ca54a
16 changed files with 2361 additions and 1447 deletions

View file

@ -605,7 +605,7 @@ void SharedFilesDialog::recommendFilesTo( std::string rsid )
nMsgDialog->newMsg();
nMsgDialog->insertTitleText("Recommendation(s)");
nMsgDialog->insertMsgText(rsPeers->getPeerName(rsPeers->getOwnId())+" recommends " + ( (files_info.size()>1)?"a list of files":"a file")+" to you");
nMsgDialog->addRecipient(rsid) ;
nMsgDialog->addRecipient(MessageComposer::TO, rsid, false) ;
nMsgDialog->sendMessage();
nMsgDialog->close();
@ -633,7 +633,7 @@ void SharedFilesDialog::recommendFilesToMsg( std::string rsid )
nMsgDialog->show();
std::cout << "recommending to " << rsid << std::endl ;
nMsgDialog->addRecipient(rsid) ;
nMsgDialog->addRecipient(MessageComposer::TO, rsid, false) ;
/* window will destroy itself! */
}