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:
sfraser%netscape.com 2002-07-05 23:48:36 +00:00
Родитель 03ded4b3c8
Коммит 9954ed21d6
4 изменённых файлов: 28 добавлений и 8 удалений

Просмотреть файл

@ -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
{