diff options
author | Damian Minkov <damencho@jitsi.org> | 2014-11-26 10:43:54 +0200 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2014-11-26 11:53:13 +0200 |
commit | d26033575009ef22b17a28a98c1752f5b1c34f75 (patch) | |
tree | 55054c440ca052b5d06ff1cb7aa857e08460768e | |
parent | c72d83b772afe9fc2c994e77dad7f5c0f25a77e1 (diff) | |
download | jitsi-d26033575009ef22b17a28a98c1752f5b1c34f75.zip jitsi-d26033575009ef22b17a28a98c1752f5b1c34f75.tar.gz jitsi-d26033575009ef22b17a28a98c1752f5b1c34f75.tar.bz2 |
Fixes problem with inconsistent name of the application.
-rwxr-xr-x | resources/install/macosx/JavaApplicationStub | bin | 19336 -> 19400 bytes | |||
-rw-r--r-- | src/native/macosx/launcher/launcher.m | 7 |
2 files changed, 6 insertions, 1 deletions
diff --git a/resources/install/macosx/JavaApplicationStub b/resources/install/macosx/JavaApplicationStub Binary files differindex 380775b..afa07c3 100755 --- a/resources/install/macosx/JavaApplicationStub +++ b/resources/install/macosx/JavaApplicationStub diff --git a/src/native/macosx/launcher/launcher.m b/src/native/macosx/launcher/launcher.m index 9384330..f090f44 100644 --- a/src/native/macosx/launcher/launcher.m +++ b/src/native/macosx/launcher/launcher.m @@ -346,7 +346,9 @@ void launchJitsi(int argMainCount, char *argMainValues[]) appArgc = jargc; // Initialize the arguments to JLI_Launch() - int argc = 2 + [sprops count] + 1 + appArgc - psnArgsCount; + // 2 for argMainValues and classPath + // 1 + 1 - the dock.name + mainclass + int argc = 2 + [sprops count] + 1 + 1 + appArgc - psnArgsCount; if(options != NULL) argc += [options count]; @@ -377,6 +379,9 @@ void launchJitsi(int argMainCount, char *argMainValues[]) UTF8String]); } + argv[i++] = strdup( + [[NSString stringWithFormat:@"-Xdock:name=%@", pname] UTF8String]); + argv[i++] = strdup([mainClassName UTF8String]); // copy the application parameters, the number we have saved |