aboutsummaryrefslogtreecommitdiffstats
path: root/swtmenubar/src
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-04-03 11:11:43 -0700
committerTor Norbye <tnorbye@google.com>2012-04-03 11:11:43 -0700
commitf3d3fa912a10e20cadae813b80a66e538f77131d (patch)
tree006d5331b30f803dc82d84adb6238202371fd38f /swtmenubar/src
parent27dac06bfc4297dc9a018edc534f44ecf96cd724 (diff)
downloadsdk-f3d3fa912a10e20cadae813b80a66e538f77131d.zip
sdk-f3d3fa912a10e20cadae813b80a66e538f77131d.tar.gz
sdk-f3d3fa912a10e20cadae813b80a66e538f77131d.tar.bz2
Revert "Switch libraries from Eclipse 3.4 to Eclipse 3.6.2"
This reverts commit b0c819f896b3c579633849e3fa674a30e6978dd7.
Diffstat (limited to 'swtmenubar/src')
-rw-r--r--swtmenubar/src/com/android/menubar/MenuBarEnhancer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/swtmenubar/src/com/android/menubar/MenuBarEnhancer.java b/swtmenubar/src/com/android/menubar/MenuBarEnhancer.java
index 7ca6471..eb3e817 100644
--- a/swtmenubar/src/com/android/menubar/MenuBarEnhancer.java
+++ b/swtmenubar/src/com/android/menubar/MenuBarEnhancer.java
@@ -191,7 +191,9 @@ public final class MenuBarEnhancer {
IMenuBarEnhancer enhancer = null;
String p = SWT.getPlatform();
String className = null;
- if ("cocoa".equals(p)) { //$NON-NLS-1$
+ if ("carbon".equals(p)) { //$NON-NLS-1$
+ className = "com.android.menubar.internal.MenuBarEnhancerCarbon"; //$NON-NLS-1$
+ } else if ("cocoa".equals(p)) { //$NON-NLS-1$
className = "com.android.menubar.internal.MenuBarEnhancerCocoa"; //$NON-NLS-1$
}