Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-10-07 18:59:19 +0000
committerAndrew Niefer2009-10-07 18:59:19 +0000
commit34841c7f7a576a7eb2d8d7022fafc00eedb3d342 (patch)
treeb79da08ed0e30b9708d45d5be5ba63a2d3acd07e /bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
parent7695bdc0e7a5a0884a1fb5e70e562e6d55f8a949 (diff)
downloadrt.equinox.framework-34841c7f7a576a7eb2d8d7022fafc00eedb3d342.tar.gz
rt.equinox.framework-34841c7f7a576a7eb2d8d7022fafc00eedb3d342.tar.xz
rt.equinox.framework-34841c7f7a576a7eb2d8d7022fafc00eedb3d342.zip
bug 174187 - no name in task bar
bug 235027 - task bar entry on windows
Diffstat (limited to 'bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java')
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index 4dc835d4e..a5f733af8 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -195,6 +195,7 @@ public class Main {
private static final String PROP_EXITCODE = "eclipse.exitcode"; //$NON-NLS-1$
private static final String PROP_EXITDATA = "eclipse.exitdata"; //$NON-NLS-1$
private static final String PROP_LAUNCHER = "eclipse.launcher"; //$NON-NLS-1$
+ private static final String PROP_LAUNCHER_NAME = "eclipse.launcher.name"; //$NON-NLS-1$
private static final String PROP_VM = "eclipse.vm"; //$NON-NLS-1$
private static final String PROP_VMARGS = "eclipse.vmargs"; //$NON-NLS-1$
@@ -1557,8 +1558,7 @@ public class Main {
// look for the name to use by the launcher
if (args[i - 1].equalsIgnoreCase(NAME)) {
- //not doing anything with this right now, but still consume it
- //name = arg;
+ System.getProperties().put(PROP_LAUNCHER_NAME, arg);
found = true;
}
@@ -1975,6 +1975,7 @@ public class Main {
if (splashLocation == null)
return;
+ bridge.setLauncherInfo(System.getProperty(PROP_LAUNCHER), System.getProperty(PROP_LAUNCHER_NAME));
bridge.showSplash(splashLocation);
long handle = bridge.getSplashHandle();
if (handle != 0 && handle != -1) {

Back to the top