Changed the menu item name from "Close" to "Quit" in the systray menu so it reflects what the action actually does.

cusax-fix
Martin Andre 16 years ago
parent 4dc779d96e
commit 360aa97ecf

@ -247,7 +247,7 @@ service.systray.MESSAGE_ICON=resources/images/impl/systray/envelope.png
service.systray.MESSAGE_ICON_WINDOWS=resources/images/impl/systray/envelopeWindows.png
service.systray.MESSAGE_ICON_MACOSX=resources/images/impl/systray/envelopeMacOSX.png
service.systray.MESSAGE_ICON_MACOSX_WHITE=resources/images/impl/systray/envelopeMacOSXWhite.png
service.systray.CLOSE_MENU_ICON=resources/images/impl/gui/common/quit16x16.png
service.systray.QUIT_MENU_ICON=resources/images/impl/gui/common/quit16x16.png
service.systray.CONFIGURE_ICON=resources/images/impl/gui/common/configureIcon.png
# dict protocol icons

@ -51,7 +51,7 @@ private static void actionPerformed(ActionEvent evt)
OsDependentActivator.getUIService()
.setConfigurationWindowVisible(true);
}
else if (itemName.equals("service.gui.CLOSE"))
else if (itemName.equals("service.gui.QUIT"))
{
OsDependentActivator.getShutdownService().beginShutdown();
}
@ -117,8 +117,8 @@ public void actionPerformed(ActionEvent event)
addSeparator(trayMenu);
add(trayMenu, new StatusSubMenu(tray, swing).getMenu());
addSeparator(trayMenu);
add(trayMenu, createTrayMenuItem("service.gui.CLOSE",
"service.gui.CLOSE", "service.systray.CLOSE_MENU_ICON", listener,
add(trayMenu, createTrayMenuItem("service.gui.QUIT",
"service.gui.QUIT", "service.systray.QUIT_MENU_ICON", listener,
swing));
return trayMenu;

Loading…
Cancel
Save