From 2ba485104fd3a5ad104f5e019b5183a4c2054fed Mon Sep 17 00:00:00 2001 From: Stefano Mazzocchi Date: Fri, 8 Oct 2010 23:39:45 +0000 Subject: [PATCH] since I can't seem to find a way to preserve that damn space, I'm moving the name in the java source code which does the same thing git-svn-id: http://google-refine.googlecode.com/svn/trunk@1458 7d457c2a-affb-35e4-300a-418c747d4874 --- refine | 2 +- server/src/com/google/refine/Refine.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/refine b/refine index 119d61e90..c674fc4e9 100755 --- a/refine +++ b/refine @@ -601,7 +601,7 @@ run() { fi if [ "$OS" = "macosx" ] ; then - add_option "-Xdock:name=GoogleRefine -Xdock:icon=graphics/icon/google-refine.icns" + add_option '-Xdock:icon=graphics/icon/google-refine.icns' fi if [ "$REFINE_DATA_DIR" ] ; then diff --git a/server/src/com/google/refine/Refine.java b/server/src/com/google/refine/Refine.java index ef2732aba..cca327428 100644 --- a/server/src/com/google/refine/Refine.java +++ b/server/src/com/google/refine/Refine.java @@ -54,10 +54,11 @@ public class Refine { System.setProperty("VERBOSE","false"); System.setProperty("org.mortbay.log.class","org.mortbay.log.Slf4jLog"); - // tell macosx to keep the menu associated with the screen + // tell macosx to keep the menu associated with the screen and what the app title is System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.eawt.CocoaComponent.CompatibilityMode", "false"); - + System.setProperty("com.apple.mrj.application.apple.menu.about.name", "Google Refine"); + // tell the signpost library to log //System.setProperty("debug","true");