Hi,
the current implementation of EtoileMenus does not allow for right
mouse clicks. That means that context menus are also disabled. GNUMail
makes good use of those, so I came up with a fix to NSMenu+Hackery.m:
- (void) _rightMouseDisplay: (NSEvent*)theEvent
{
if( (NO == _horizontal) && (NO == [(NSMenuView*)_view isHorizontal])
)
{
[self displayTransient];
[_view mouseDown: theEvent];
[self closeTransient];
}
}
As simple as that.
Another idea, that would make EtoileMenus resemble Apple menus more
closely, would be to put the Services menu from the top 'under' the
<Application Name> menu. For this, simply duplicate both instances of
if ([title isEqual: NSLocalizedString (@"Info", @"Info")])
{
[itemsToMove addObject: anItem];
}
in - (void) _organizeMenu and replace "Info" with "Services."
There is a drawback however:
The GSServicesManager will then constantly complain that the
"Services" menu is not in the main menu. To get rid of this,
GSServicesManager-updateServicesMenu would have to be "fixed."
Apart from that, full functionality of the Services menu is given,
though.
--
Chris
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev