* Bug #11343 fixed - The "isoview" figure property did not work when the axes
margins had been modified.
-* Bug #11479 fixed - Under Ubuntu Unity, the color of the text menu was wrong.
-
* Bug #12163 fixed - unzoom did not work with a single input argument.
* Bug #12443 fixed - Document behavior of mopen() in text file mode
import java.awt.Color;
import javax.swing.ImageIcon;
-import javax.swing.UIManager;
import org.scilab.modules.commons.gui.ScilabKeyStroke;
import org.scilab.modules.graphic_objects.graphicController.GraphicController;
uimenu.setVisible((Boolean) value);
break;
case __GO_UI_FOREGROUNDCOLOR__ :
- uimenu.setForeground(UIManager.getColor("MenuBar.foreground"));
+ Double[] allColors = ((Double[]) value);
+ uimenu.setForeground(new Color((int) (allColors[0] * COLORS_COEFF),
+ (int) (allColors[1] * COLORS_COEFF),
+ (int) (allColors[2] * COLORS_COEFF)));
break;
case __GO_UI_ICON__ :
if (!((String) value).equals("")) {