mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 09:51:08 +00:00
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:
parent
84211f6d3a
commit
7275162b54
1 changed files with 0 additions and 13 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue