Author: mlytwyn
Date: Thu Apr 13 00:07:40 2017
New Revision: 40470

URL: http://svn.gna.org/viewcvs/gnustep?rev=40470&view=rev
Log:
Remove second check for userLabel=MainMenu

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=40470&r1=40469&r2=40470&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m   
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m   
Thu Apr 13 00:07:40 2017
@@ -1158,8 +1158,7 @@
     {
       object = [element attributeForKey: @"systemMenu"];
       
-      if (([@"main" isEqualToString: object]) &&
-          ([@"MainMenu" isEqualToString: [element attributeForKey: 
@"userLabel"]]))
+      if ([@"main" isEqualToString: object])
         object = @"_NSMainMenu";
       else if ([@"apple" isEqualToString: object])
         object = @"_NSAppleMenu";


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

Reply via email to