Extension icon shown instead of specified icon
Closed this issue · 1 comments
nickgirardo commented
My extension has an icon, which is the play/ pause icon, . When creating menu items, I also directly, like this:
browser.menus.create({
"id": "yt-play",
"title": "Play Video",
"contexts": ["tab"],
"icons": {
"16": "icons/play-16.png",
"32": "icons/play-32.png"
}
}, onCreated);
If I cause more than one menu item to be added at once, they will be added to their own submenu and have the directly specified icon:
But most of the time I am only adding one menu item at once and don't want to have to fuss with going through a submenu. Is it possible to have an icon other than the extension icon displayed at the top level?
nickgirardo commented
After asking on IRC, it seems that this behavior is intentional and not configurable.