View Single Post
Old 03-12-2011, 03:05 AM   #13
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
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?
meme is offline   Reply With Quote