[Evolution-hackers] EPlugin popup menu customisation




I've added a feature to e-popup plugins, now they can specifically list - in code - their menu items, rather than having to do them in the xml file.

This could be used where you need more control than is available through the masks, over which menu items are and are not included.

Use a "factory" paramter to the "menu" element.

The factory method will be called with a popup target, it can use that to determine the EPopup, and then use e_popup_add_items() to add any special items.  The code has comments and examples on how add_items works.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]