Fix apple plugin preference issue.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5277 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-09-07 22:56:35 +00:00
committed by derek
parent d483ca28af
commit c311b1c5fd

View File

@ -69,7 +69,7 @@ public class ApplePlugin implements Plugin {
JMenuItem item = (JMenuItem) current;
if ("Preferences".equals(item.getText())) {
connectMenu.remove(item);
//connectMenu.remove(item);
} else if ("Log Out".equals(item.getText())) {
connectMenu.remove(item);
}
@ -86,8 +86,8 @@ public class ApplePlugin implements Plugin {
// register an application listener to show the about box
Application application = Application.getApplication();
application.setEnabledPreferencesMenu(true);
application.addPreferencesMenuItem();
// application.setEnabledPreferencesMenu(true);
// application.addPreferencesMenuItem();
application.addApplicationListener(new ApplicationAdapter() {
public void handlePreferences(ApplicationEvent applicationEvent) {