Author: mlytwyn
Date: Mon Feb  6 16:20:46 2017
New Revision: 40323

URL: http://svn.gna.org/viewcvs/gnustep?rev=40323&view=rev
Log:
Fix system menu decoding to get recents, etc working

Modified:
    libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m

Modified: 
libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m?rev=40323&r1=40322&r2=40323&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m   
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m   
Mon Feb  6 16:20:46 2017
@@ -1127,6 +1127,16 @@
       if (([@"main" isEqualToString: object]) &&
           ([@"MainMenu" isEqualToString: [element attributeForKey: 
@"userLabel"]]))
         object = @"_NSMainMenu";
+      else if ([@"apple" isEqualToString: object])
+        object = @"_NSAppleMenu";
+      else if ([@"window" isEqualToString: object])
+        object = @"_NSWindowsMenu";
+      else if ([@"services" isEqualToString: object])
+        object = @"_NSServicesMenu";
+      else if ([@"recentDocuments" isEqualToString: object])
+        object = @"_NSRecentDocumentsMenu";
+      else if ([@"font" isEqualToString: object])
+        object = @"_NSFontMenu";
     }
   else if ([element attributeForKey: @"name"])
     {


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to