Better way to add menu items for plugins

Bug #1323947 reported by Timothy on 2014-05-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oliver Sauder

Bug Description

Most plugins need two things, a keybinding, and a menu item beneath the separator. keybinding_manager.bind can be used for the keybinding but the menu item is more difficult. Currently to add a menu item you must watch for menu changes, find the separator, and then add the item to the underling menu manually. It an be done, but it would make a lot of sense to have functions to register/unregister menu items more easily.

Oliver Sauder (sao) wrote :

Certainly a good idea to have a register menu item function on the controller and shouldn't be too difficult to implement.

Changed in diodon:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 1.2.0
Oliver Sauder (sao) wrote :

Following method added to the controller:

change committed - will be soon available in daily ppa or included in next stable release 1.2.0

Changed in diodon:
status: Triaged → Fix Committed
assignee: nobody → Oliver Sauder (sao)
Oliver Sauder (sao) on 2014-08-03
Changed in diodon:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers