mirror of
https://github.com/igniterealtime/Spark.git
synced 2026-08-18 11:10:02 +00:00
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:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user