зеркало из https://github.com/mozilla/pjs.git
We have to manually update items on the Bookmarks menu and its submenus, because we turn auto-enabling of items off for this menu (persumably, for performance with lots of bookmarks).
This commit is contained in:
Родитель
03ded4b3c8
Коммит
9954ed21d6
|
@ -117,15 +117,20 @@ static NSArray* sToolbarDefaults = nil;
|
|||
[[NSApp delegate] adjustCloseWindowMenuItemKeyEquivalent:NO];
|
||||
}
|
||||
|
||||
/*
|
||||
- (void)windowDidBecomeMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:YES];
|
||||
}
|
||||
|
||||
- (void)windowDidResignMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:NO];
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
-(void)mouseMoved:(NSEvent*)aEvent
|
||||
{
|
||||
|
|
|
@ -117,15 +117,20 @@ static NSArray* sToolbarDefaults = nil;
|
|||
[[NSApp delegate] adjustCloseWindowMenuItemKeyEquivalent:NO];
|
||||
}
|
||||
|
||||
/*
|
||||
- (void)windowDidBecomeMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:YES];
|
||||
}
|
||||
|
||||
- (void)windowDidResignMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:NO];
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
-(void)mouseMoved:(NSEvent*)aEvent
|
||||
{
|
||||
|
|
|
@ -117,15 +117,20 @@ static NSArray* sToolbarDefaults = nil;
|
|||
[[NSApp delegate] adjustCloseWindowMenuItemKeyEquivalent:NO];
|
||||
}
|
||||
|
||||
/*
|
||||
- (void)windowDidBecomeMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:YES];
|
||||
}
|
||||
|
||||
- (void)windowDidResignMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:NO];
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
-(void)mouseMoved:(NSEvent*)aEvent
|
||||
{
|
||||
|
|
|
@ -117,15 +117,20 @@ static NSArray* sToolbarDefaults = nil;
|
|||
[[NSApp delegate] adjustCloseWindowMenuItemKeyEquivalent:NO];
|
||||
}
|
||||
|
||||
/*
|
||||
- (void)windowDidBecomeMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:YES];
|
||||
}
|
||||
|
||||
- (void)windowDidResignMain:(NSNotification *)notification
|
||||
{
|
||||
// we have to manually enable/disable the bookmarks menu items, because we
|
||||
// turn autoenabling off for that menu
|
||||
[[NSApp delegate] adjustBookmarksMenuItemsEnabling:NO];
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
-(void)mouseMoved:(NSEvent*)aEvent
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче