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:
@@ -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]];
|
||||
|
||||
Reference in New Issue
Block a user