Using 0.7.49 with the update to automatically add the icon partly works for me - its a bit overzealous and adds my icon to the main toolbar without device even though I have:
class KindleCollectionsAction(InterfaceAction):
name = PLUGIN_NAME
action_spec = (_(PLUGIN_NAME), None, None, None)
popup_type = QToolButton.InstantPopup
action_type = 'current'
dont_add_to = frozenset(['toolbar', 'context-menu'])
I remove my old plugin, restart, then use the GUI to add the plugin, restart, and the icon appears in both places.
By the way, in preferences->customize the toolbar how do I put my custom icon next to the text name of the icon like the built-in entries?
|