Adds a missing resource property. Patch contributed by Tom Denham.

cusax-fix
Boris Grozev 13 years ago
parent e4f138d46b
commit e21c425aac

@ -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.

@ -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(

Loading…
Cancel
Save