Camino only - Bug 364075:Ensure that separators in bookmarks bar always appear as separators. r=cl sr=smorgan

git-svn-id: svn://10.0.0.236/trunk@217118 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
stridey%gmail.com
2006-12-18 07:53:21 +00:00
parent 9b0d86d308
commit 8a17b47167

View File

@@ -131,6 +131,12 @@
- (void)bookmarkChanged:(BOOL*)outNeedsReflow
{
// Don't let separator items change - we love them just the way they are
if ([mItem isSeparator]) {
*outNeedsReflow = NO;
return;
}
if (![[self title] isEqualToString:[mItem title]]) {
*outNeedsReflow = YES; // assume title width changed
[self setTitle:[mItem title]];