Fix bug 303909: remove ellipsis from the "Create New Folder" context menu item on the bookmark bar. Patch partly by Nick Kreeger.

This commit is contained in:
smfr%smfr.org 2005-10-07 04:35:35 +00:00
Родитель c4e497cd9f
Коммит 7c83ac8847
2 изменённых файлов: 2 добавлений и 2 удалений

Двоичный файл не отображается.

Просмотреть файл

@ -342,7 +342,7 @@ static const int kBMBarScanningStep = 5;
-(NSMenu*)menuForEvent:(NSEvent*)aEvent
{
NSMenu* myMenu = [[NSMenu alloc] initWithTitle:@"snookums"];
NSMenuItem *menuItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Create New Folder...",@"Create New Folder...")
NSMenuItem *menuItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Create New Folder", @"")
action:@selector(addFolder:)
keyEquivalent:@""];
[menuItem setTarget:self];
@ -363,7 +363,7 @@ static const int kBMBarScanningStep = 5;
{
BookmarkFolder* toolbar = [[BookmarkManager sharedBookmarkManager] toolbarFolder];
BookmarkFolder* aFolder = [toolbar addBookmarkFolder];
[aFolder setTitle:NSLocalizedString(@"NewBookmarkFolder",@"New Folder")];
[aFolder setTitle:NSLocalizedString(@"NewBookmarkFolder", @"")];
}
-(void)showBookmarksToolbar: (BOOL)aShow