Part of last patch was better implemented with gui/Images/nsmapping.strings

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6155 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2000-03-02 03:13:01 +00:00
parent 84211f6d3a
commit 7275162b54

View file

@ -709,19 +709,6 @@ void __dummy_GMAppKit_functionForLinking() {}
imageName = [unarchiver decodeStringWithName:@"name"];
/* If the image is a standard system image with the MacOSX name,
convert the name to the GNUstep name */
#ifdef GNU_GUI_LIBRARY
if ([imageName isEqualToString: @"NSMenuCheckmark"])
imageName = @"common_2DCheckMark";
else if ([imageName isEqualToString: @"NSMenuArrow"])
imageName = @"common_3DArrowRight";
/* else if ([imageName isEqualToString: @"NSMenuMixedState"])
imageName = @"common_??";*/
else if ([imageName isEqualToString: @"NSAppleMenuImage"])
imageName = @"GNUstepMenuImage";
#endif
if (imageName)
image = [NSImage imageNamed: imageName];