Camino only - Final checkin for Bug 235863: Show/Hide Bookmarks toolbar button does not indicate state. Icon by Jon Hicks, r=ss sr=pink.

This commit is contained in:
stridey%gmail.com 2006-09-14 17:26:28 +00:00
parent 7818174157
commit d779ffdcc5
3 changed files with 3 additions and 1 deletions

View File

@ -1184,7 +1184,7 @@ enum BWCOpenDest {
[toolbarItem setAction:@selector(home:)];
}
else if ([itemIdent isEqual:BookmarksToolbarItemIdentifier]) {
[toolbarItem setLabel:NSLocalizedString(@"ToggleBookmarks", nil)];
[toolbarItem setLabel:NSLocalizedString(@"Manage Bookmarks", nil)];
[toolbarItem setPaletteLabel:NSLocalizedString(@"Manage Bookmarks", nil)];
[toolbarItem setToolTip:NSLocalizedString(@"ShowBookmarkMgrToolTip", nil)];
[toolbarItem setImage:[NSImage imageNamed:@"manager"]];
@ -1368,11 +1368,13 @@ enum BWCOpenDest {
}
else if (action == @selector(manageBookmarks:)) {
if ([self bookmarkManagerIsVisible]) {
[theItem setLabel:NSLocalizedString(@"Hide Bookmarks", nil)];
[theItem setPaletteLabel:NSLocalizedString(@"Hide Bookmarks", nil)];
[theItem setToolTip:NSLocalizedString(@"HideBookmarkMgrToolTip", nil)];
[theItem setImage:[NSImage imageNamed:@"hidemanager"]];
}
else {
[theItem setLabel:NSLocalizedString(@"Manage Bookmarks", nil)];
[theItem setPaletteLabel:NSLocalizedString(@"Manage Bookmarks", nil)];
[theItem setToolTip:NSLocalizedString(@"ShowBookmarkMgrToolTip", nil)];
[theItem setImage:[NSImage imageNamed:@"manager"]];