From a1d2d69602bddc7ede0c0a796713b9e9ce47781e Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Mon, 5 Nov 2012 14:38:42 +0900 Subject: [PATCH] menu: disable AlwaysOnTop menu in mac not supported feature Signed-off-by: GiWoong Kim --- tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java index c618d81..24fee91 100644 --- a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java +++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java @@ -1894,6 +1894,8 @@ public class EmulatorSkin { new MenuItem( menu, SWT.SEPARATOR ); /* Always on top menu */ + if (!SwtUtil.isMacPlatform()) { /* temp */ + final MenuItem onTopItem = new MenuItem( menu, SWT.CHECK ); onTopItem.setText( "&Always On Top" ); onTopItem.setSelection( isOnTop ); @@ -1925,6 +1927,8 @@ public class EmulatorSkin { } } ); + } + /* Rotate menu */ final MenuItem rotateItem = new MenuItem( menu, SWT.CASCADE ); rotateItem.setText( "&Rotate" ); -- 2.7.4