diff --git a/ChangeLog b/ChangeLog index 8a099bda1..d127e4a1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-16 06:30-EDT Gregory John Casamento + + * Source/GSThemeMenu.m: Use copy in setMenu:forWindow: instead of + NSArchiver. + 2011-03-14 Fred Kiefer * ColorPickers/GSNamedColorPicker.m diff --git a/Source/GSThemeMenu.m b/Source/GSThemeMenu.m index 50e2822c8..3764dd450 100644 --- a/Source/GSThemeMenu.m +++ b/Source/GSThemeMenu.m @@ -62,8 +62,8 @@ GSWindowDecorationView *wv = [window windowView]; if ([window menu] == nil && menu != nil) { - NSData *data = [NSArchiver archivedDataWithRootObject: menu]; // copy the view... - NSMenu *newMenu = [NSUnarchiver unarchiveObjectWithData: data]; + // NSData *data = [NSArchiver archivedDataWithRootObject: menu]; // copy the view... + NSMenu *newMenu = [menu copy]; // [NSUnarchiver unarchiveObjectWithData: data]; NSMenuView *menuView = nil; /*