[jsword-svn] r1286 - trunk/common-swing/src/main/java/org/crosswire/common/swing

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Fri Apr 20 10:59:20 MST 2007


Author: dmsmith
Date: 2007-04-20 10:59:19 -0700 (Fri, 20 Apr 2007)
New Revision: 1286

Modified:
   trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java
Log:
Fixed a bug in ActionFactory in the showing of mnemonics

Modified: trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java	2007-04-20 17:51:40 UTC (rev 1285)
+++ trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java	2007-04-20 17:59:19 UTC (rev 1286)
@@ -420,7 +420,7 @@
         cwAction.putValue(Action.SHORT_DESCRIPTION, short_desc);
         cwAction.putValue(Action.LONG_DESCRIPTION, long_desc);
         // Mac's don't have mnemonics
-        if (OSType.MAC.equals(OSType.getOSType()))
+        if (!OSType.MAC.equals(OSType.getOSType()))
         {
             cwAction.putValue(Action.MNEMONIC_KEY, mnemonic);
         }




More information about the jsword-svn mailing list