313083 Right-click in empty tab bar space has no contextual menu. Add a contextual menu. Patch by Chris Lawson <bugzilla@chrislawson.net>. r=smorgan sr=me a=me
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198477 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Binary file not shown.
@@ -167,8 +167,7 @@ static const int kOverflowButtonMargin = 1;
|
||||
{
|
||||
NSPoint clickPoint = [self convertPoint:[theEvent locationInWindow] fromView:nil];
|
||||
TabButtonCell *clickedTabButton = [self buttonAtPoint:clickPoint];
|
||||
// XXX should there be a menu if someone clicks in the tab bar where there is no tab?
|
||||
return (clickedTabButton) ? [clickedTabButton menu] : nil;
|
||||
return (clickedTabButton) ? [clickedTabButton menu] : [self menu];
|
||||
}
|
||||
|
||||
-(void)mouseDown:(NSEvent*)theEvent
|
||||
|
||||
Reference in New Issue
Block a user