diff options
author | Damian Minkov <damencho@jitsi.org> | 2013-03-05 22:03:43 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2013-03-05 22:03:43 +0000 |
commit | 46bcbd306ed8e17d602bdb9a99bba21e907e72b6 (patch) | |
tree | 5d37b91892a6a4b515834ce287a54d69670ded7f /src/net/java/sip/communicator/impl/gui/main/call/CallManager.java | |
parent | b2cc5dc5bfbae7f10bdf7e82a5f75e7b53f5de48 (diff) | |
download | jitsi-46bcbd306ed8e17d602bdb9a99bba21e907e72b6.zip jitsi-46bcbd306ed8e17d602bdb9a99bba21e907e72b6.tar.gz jitsi-46bcbd306ed8e17d602bdb9a99bba21e907e72b6.tar.bz2 |
Dispatches video contact details. Uses voice as default number detail, if no type is available. Use position index in MetaContactRightButtonMenu.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/call/CallManager.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/call/CallManager.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java b/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java index ab651e4..7f5cfd1 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java @@ -22,12 +22,7 @@ import net.java.sip.communicator.plugin.desktoputil.transparent.*; import net.java.sip.communicator.service.contactlist.*; import net.java.sip.communicator.service.gui.*; import net.java.sip.communicator.service.protocol.*; -import net.java.sip.communicator.service.protocol.ServerStoredDetails.FaxDetail; -import net.java.sip.communicator.service.protocol.ServerStoredDetails.GenericDetail; -import net.java.sip.communicator.service.protocol.ServerStoredDetails.MobilePhoneDetail; -import net.java.sip.communicator.service.protocol.ServerStoredDetails.PagerDetail; -import net.java.sip.communicator.service.protocol.ServerStoredDetails.PhoneNumberDetail; -import net.java.sip.communicator.service.protocol.ServerStoredDetails.WorkPhoneDetail; +import net.java.sip.communicator.service.protocol.ServerStoredDetails.*; import net.java.sip.communicator.service.protocol.event.*; import net.java.sip.communicator.service.protocol.media.*; import net.java.sip.communicator.util.*; @@ -1649,6 +1644,13 @@ public class CallManager getI18NString( "service.gui.MOBILE_PHONE"); } + else if(d instanceof VideoDetail) + { + localizedType = + GuiActivator.getResources(). + getI18NString( + "service.gui.VIDEO_PHONE"); + } else { localizedType = |