diff --git a/resources/languages/resources.properties b/resources/languages/resources.properties index ac9a4b5fa..54b393ab9 100644 --- a/resources/languages/resources.properties +++ b/resources/languages/resources.properties @@ -329,6 +329,7 @@ service.gui.NEW_STATUS_MESSAGE=New status message service.gui.NO=No service.gui.NONE=None service.gui.NO_CAMERA_AVAILABLE=No camera available +service.gui.NO_DESKTOP_SHARING_FOR_PROTOCOL=Desktop sharing is not supported for this protocol service.gui.NO_VIDEO_ENCODINGS=No video encodings are selected in configuration service.gui.NO_VIDEO_FOR_PROTOCOL=Video is not supported for this protocol service.gui.NO_AVAILABLE_ROOMS=The list of rooms for this server is currently not available. diff --git a/src/net/java/sip/communicator/impl/gui/main/call/DesktopSharingButton.java b/src/net/java/sip/communicator/impl/gui/main/call/DesktopSharingButton.java index 68e9ac50c..61e4a72a9 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/DesktopSharingButton.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/DesktopSharingButton.java @@ -64,11 +64,12 @@ public DesktopSharingButton(Call call, boolean fullScreen, boolean selected) OperationSetDesktopSharingServer desktopSharing = call.getProtocolProvider().getOperationSet( OperationSetDesktopSharingServer.class); + System.err.println("DOHH"+desktopSharing); if (desktopSharing == null) { - setToolTipText(GuiActivator.getResources() - .getI18NString("NO_DESKTOP_SHARING_FOR_PROTOCOL")); + setToolTipText(GuiActivator.getResources().getI18NString( + "service.gui.NO_DESKTOP_SHARING_FOR_PROTOCOL")); desktopSharingAvailable = false; } else if(!ConfigurationManager.hasEnabledVideoFormat(