Use the same color for all menus in the menu bar.

cusax-fix
Yana Stamcheva 18 years ago
parent 914bab5994
commit d1f7e26cf6

@ -110,16 +110,7 @@ splashScreenTitleColor=375684
contactListBackground=FFFFFF
# File menu foreground color
fileMenuForeground=333333
# Tools menu foreground color
toolsMenuForeground=333333
# View menu foreground color
viewMenuForeground=333333
# Help menu foreground color
helpMenuForeground=333333
mainMenuForeground=333333
# Logo bar background color
logoBarBackground=FFFFFF

@ -89,7 +89,7 @@ public FileMenu(MainFrame parentWindow) {
super(Messages.getI18NString("file").getText());
this.setForeground(
new Color(ColorProperties.getColor("fileMenuForeground")));
new Color(ColorProperties.getColor("mainMenuForeground")));
this.parentWindow = parentWindow;
@ -104,9 +104,9 @@ public FileMenu(MainFrame parentWindow) {
this.add(createChatRoomItem);
this.add(searchForChatRoomsItem);
this.addSeparator();
this.add(closeMenuItem);
//this.addContactItem.setIcon(new ImageIcon(ImageLoader
@ -118,7 +118,7 @@ public FileMenu(MainFrame parentWindow) {
this.createGroupItem.setName("createGroup");
this.createChatRoomItem.setName("createChatRoom");
this.searchForChatRoomsItem.setName("searchForChatRooms");
this.newAccountMenuItem.addActionListener(this);
this.closeMenuItem.addActionListener(this);
this.addContactItem.addActionListener(this);

@ -47,7 +47,7 @@ public HelpMenu(MainFrame mainFrame)
this.setMnemonic(Messages.getI18NString("help").getMnemonic());
this.setForeground(
new Color(ColorProperties.getColor("helpMenuForeground")));
new Color(ColorProperties.getColor("mainMenuForeground")));
this.initPluginComponents();
}

@ -52,7 +52,7 @@ public ToolsMenu(MainFrame parentWindow) {
super(Messages.getI18NString("tools").getText());
this.setForeground(
new Color(ColorProperties.getColor("toolsMenuForeground")));
new Color(ColorProperties.getColor("mainMenuForeground")));
this.parentWindow = parentWindow;

@ -54,7 +54,7 @@ public ViewMenu(MainFrame mainFrame) {
super(Messages.getI18NString("view").getText());
this.setForeground(
new Color(ColorProperties.getColor("viewMenuForeground")));
new Color(ColorProperties.getColor("mainMenuForeground")));
this.mainFrame = mainFrame;

Loading…
Cancel
Save