aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2012-06-03 16:59:47 +0000
committerYana Stamcheva <yana@jitsi.org>2012-06-03 16:59:47 +0000
commitc527dde0d4e4328a0decaf5363e3efa7035fdb83 (patch)
tree5bcf211c95ed418f78b48ddde87b057009778a9e
parent272e3d2d20f6c98fdf0891ee7a25e01a5d150710 (diff)
downloadjitsi-c527dde0d4e4328a0decaf5363e3efa7035fdb83.zip
jitsi-c527dde0d4e4328a0decaf5363e3efa7035fdb83.tar.gz
jitsi-c527dde0d4e4328a0decaf5363e3efa7035fdb83.tar.bz2
Disables msofficecomm plugin on other operating systems than Windows (check added when service is stopped).
-rw-r--r--src/net/java/sip/communicator/plugin/msofficecomm/MsOfficeCommActivator.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/plugin/msofficecomm/MsOfficeCommActivator.java b/src/net/java/sip/communicator/plugin/msofficecomm/MsOfficeCommActivator.java
index 7b5a02d..1db8410 100644
--- a/src/net/java/sip/communicator/plugin/msofficecomm/MsOfficeCommActivator.java
+++ b/src/net/java/sip/communicator/plugin/msofficecomm/MsOfficeCommActivator.java
@@ -66,6 +66,10 @@ public class MsOfficeCommActivator
public void stop(BundleContext bundleContext)
throws Exception
{
+ // This plugin is only available o Windows systems.
+ if (!OSUtils.IS_WINDOWS)
+ return;
+
try
{
int hresult = OutOfProcessServer.stop();