I think we have already talked about it : the selection of the
appropriate account to issue a call. It's sometimes annoying
when a call fails just because the currently selected account in the
AccountSelectorBox can't handle the call that we try to make, while
there is another account in the list which is able to do so. The attached patch is an attempt to provide a rational way to do it :
an automatic swich to the pps of the contact that we try to call.
And of course, the user always have the ability to switch back to whatever account he wants.
Annother thing : is there a good reason for which when we click a
contact, the chat window is opened on the mousepressed
event instead of the mouseclicked ? I know that thereis
an open discussion on what to do on user click, nevertheless,
without changing the actual behaviour, I feel like the mouseclicked
event is the most "logic" event to use for this action, isn't it ?
I have moved the code in this sens. Hope you will be ok with that.