aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2017-01-14 16:04:21 +0100
committerIngo Bauersachs <ingo@jitsi.org>2017-01-14 16:04:21 +0100
commit2b819cf74759aff7842698e7abd403798c4dd441 (patch)
tree03b03b4620fb417a648ec8fb6f46cd2d965256ca /src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java
parent2fb4e9d83c9704859200621ee9e79d5ea6f70203 (diff)
downloadjitsi-2b819cf74759aff7842698e7abd403798c4dd441.zip
jitsi-2b819cf74759aff7842698e7abd403798c4dd441.tar.gz
jitsi-2b819cf74759aff7842698e7abd403798c4dd441.tar.bz2
Add option to choose tray icon mode (Native, Disabled, AppIndicator)
Diffstat (limited to 'src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java')
-rw-r--r--src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java b/src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java
index 90041fc..d5cbf14 100644
--- a/src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java
+++ b/src/net/java/sip/communicator/util/launchutils/LaunchArgHandler.java
@@ -299,6 +299,11 @@ public class LaunchArgHandler
// do nothing already handled by startup script/binary
continue;
}
+ else if (args[i].startsWith("--notray"))
+ {
+ System.setProperty("disable-tray", "true");
+ continue;
+ }
//if this is the last arg and it's not an option then it's probably
//an URI
else if ( i == args.length - 1
@@ -521,6 +526,7 @@ public class LaunchArgHandler
System.out.println(" -6, --ipv6 prefer IPv6 addresses where possible only");
System.out.println(" -4, --ipv4 forces use of IPv4 only");
System.out.println(" -v, --version display the current version and exit");
+ System.out.println(" -n, --notray disable the tray icon and show the GUI");
}
/**