Bring calling window to front when we trigger a call from the chat window.

cusax-fix
Yana Stamcheva 18 years ago
parent 6939878a12
commit 060c4c659e

@ -250,8 +250,9 @@ public void actionPerformed(ActionEvent evt)
Object o = chatContact.getSourceContact();
OperationSetBasicTelephony opSetBT
= (OperationSetBasicTelephony) chatContact.getProtocolProvider()
.getOperationSet(OperationSetBasicTelephony.class);
= (OperationSetBasicTelephony) chatContact
.getProtocolProvider()
.getOperationSet(OperationSetBasicTelephony.class);
if (opSetBT != null)
{
@ -273,6 +274,8 @@ else if (o instanceof Contact)
v.add(m.getDefaultContact(OperationSetBasicTelephony.class));
cm.createCall(v);
}
chatPanel.getChatWindow().getMainFrame().toFront();
}
else if(button.getName().equals("info"))
{

Loading…
Cancel
Save