What would be the best example in the Mori source code for how to utilize your color menu? Also, is the menu itself stored in a particular nib file?
My purpose is to add a pop-up menu to the mGTD prefs so that users can choose what label color should be associated with different action types (overdue, etc).
Thanks
Jeff
The +colorLabelMenu is
The +colorLabelMenu is declared in MIUserInterfaceProtocols.h. That will return a NSMenu that contains menu items for the different color choices. This menu isn't really tied to any particular behavior in Mori, so you can use it anyway that you want. A copy of the menu is given to you so you can do anything that you want with that copy including add/remove items, rename items, change actions, change targets...
So basically (once you include MIUserInterfaceProtocols.h you can use the color menu like this:
NSMenu *myColorMenu = [NSObject colorLabelMenu];
// and then do whatever you want with the menu, such as use it in a popup menu.