The problem seems to be that the menu items are never destroyed ... maybe you can use this Tomboy patch as an example: https://launchpadlibrarian.net/36916702/04_app_indicator.patch or something... Unfortunately I've only created one AppIndicator and that was in Python so I can't be of too much help.
The weird part is now it works ok on my computer too, but still fails in VirtualBox. I really have no idea what made it work :/
The problem seems to be that the menu items are never destroyed ... maybe you can use this Tomboy patch as an example: https:/ /launchpadlibra rian.net/ 36916702/ 04_app_ indicator. patch or something... Unfortunately I've only created one AppIndicator and that was in Python so I can't be of too much help.
The weird part is now it works ok on my computer too, but still fails in VirtualBox. I really have no idea what made it work :/