Enrico Tröger wrote:
I have two suggestions, most preferred one first (:D) : a) create the whole menu with GtkAction's and then put a XML file with the layout in the user's config directory. This way, the users can reorder the menu as they like and all will be happy. Bonus of this method is that creating and maintaining menu items is very easy and flexible. b) do a mix of submenus and toplevel menu items: commonly used menu items like 'diff from current file', 'diff from base dir', 'revert', 'commit' should go into the top level menu, others like 'blame', 'add', 'remove', 'log' could go into one or more submenus.
c) A dynamic "recent actions" list?
a) doesn't really appeal me :/