зеркало из https://github.com/mozilla/pjs.git
Camino only - Text-only back/forward buttons aren't disabled correctly. Patch by smorgan <stuart.morgan@alumni.case.edu> r=kreeger sr=pink b=333222.
This commit is contained in:
Родитель
6d4d9072b9
Коммит
7bdbbb18d4
|
@ -416,6 +416,18 @@ public:
|
|||
[target validateToolbarItem:self];
|
||||
}
|
||||
|
||||
//
|
||||
// -setEnabled:
|
||||
//
|
||||
// Make sure that the menu form, which is used for the text-only view,
|
||||
// is enabled and disabled with the rest of the toolbar item.
|
||||
//
|
||||
- (void)setEnabled:(BOOL)enabled
|
||||
{
|
||||
[super setEnabled:enabled];
|
||||
[[self menuFormRepresentation] setEnabled:enabled];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
#pragma mark -
|
||||
|
|
Загрузка…
Ссылка в новой задаче