Fix bug 285793 (broken Add Bookmark toolbar item) by fixing the selector name on the button.

This commit is contained in:
smfr%smfr.org 2005-03-13 03:45:15 +00:00
Родитель 5302e580e2
Коммит 38c2744108
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1085,7 +1085,7 @@ enum BWCOpenDest {
[toolbarItem setToolTip:NSLocalizedString(@"BookmarkToolTip", @"Add this page to your bookmarks")];
[toolbarItem setImage:[NSImage imageNamed:@"add_to_bookmark.tif"]];
[toolbarItem setTarget:self];
[toolbarItem setAction:@selector(bookmarkPage:)];
[toolbarItem setAction:@selector(addBookmark:)];
}
else if ([itemIdent isEqual:TextBiggerToolbarItemIdentifier]) {
[toolbarItem setLabel:NSLocalizedString(@"BigText", @"Enlarge Text")];
@ -1175,7 +1175,7 @@ enum BWCOpenDest {
return (![mBrowserView isBusy] && ![self bookmarkManagerIsVisible]);
else if (action == @selector(stop:))
return [mBrowserView isBusy];
else if (action == @selector(bookmarkPage:))
else if (action == @selector(addBookmark:))
return ![mBrowserView isEmpty];
else if (action == @selector(biggerTextSize:))
return ![mBrowserView isEmpty] && [[mBrowserView getBrowserView] canMakeTextBigger];