take out the separator after "None" in the group menu

This commit is contained in:
Mitchell Livingston 2007-12-18 16:50:19 +00:00
parent 495ba55d27
commit 8ea3a88f43
1 changed files with 1 additions and 3 deletions

View File

@ -339,8 +339,6 @@ GroupsWindowController * fGroupsWindowInstance = nil;
[menu addItem: item];
[item release];
[menu addItem: [NSMenuItem separatorItem]];
NSBezierPath * bp = [NSBezierPath bezierPathWithRoundedRect: NSMakeRect(0.0, 0.0, 16.0, 16.0) radius: 4.0];
NSEnumerator * enumerator = [fGroups objectEnumerator];
@ -350,7 +348,7 @@ GroupsWindowController * fGroupsWindowInstance = nil;
item = [[NSMenuItem alloc] initWithTitle: [dict objectForKey: @"Name"] action: action keyEquivalent: @""];
[item setTarget: target];
NSImage * icon = [[NSImage alloc] initWithSize: NSMakeSize(16.0, 16.0)];
NSImage * icon = [[NSImage alloc] initWithSize: [bp bounds].size];
[icon lockFocus];
[[self gradientForPreviewColor: [dict objectForKey: @"Color"]] fillBezierPath: bp angle: 270.0];