Add method to ask if the menu should show the icon. In some themes it

is redundant.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32829 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2011-04-10 20:14:53 +00:00
parent 924b24dde4
commit 828bc672f6
3 changed files with 33 additions and 12 deletions

View file

@ -169,5 +169,10 @@
return NO; // themes that handle events in a popUpMenu should return YES
}
- (BOOL) menuShouldShowIcon
{
return YES; // override whether or not to show the icon in the menu.
}
@end