Closes the CallInfoFrame simultaneously with the CallPanel when the last remote peer leaves the call.

cusax-fix
Vincent Lucas 14 years ago
parent 0a0c71237a
commit 1a740bb1f2

@ -74,6 +74,7 @@ public void close(CallPanel callPanel)
{
if (this.callPanel.equals(callPanel))
{
this.callPanel.disposeCallInfoFrame();
dispose();
}
}

@ -546,8 +546,7 @@ public void actionPerformedOnHangupButton(boolean isCloseWait)
{
Call call = getCall();
if (callInfoFrame != null)
callInfoFrame.dispose();
this.disposeCallInfoFrame();
if (call != null)
CallManager.hangupCall(call);
@ -1590,6 +1589,17 @@ private Collection<Contact> getIMCapableCallPeers()
return contactVector;
}
/**
* Disposes the call info frame if it exists.
*/
public void disposeCallInfoFrame()
{
if (callInfoFrame != null)
{
callInfoFrame.dispose();
}
}
/**
* {@inheritDoc}
*/

Loading…
Cancel
Save