Jason Gray
Jason Gray
@jhasse you have to hack around how GNOME Shell treats nested menus but it's possible. https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer is basically just a bunch of nested menus.
The child-added signal handler itself causes the child-added signal to be emitted which causes an infinitely recursive loop. Handlers that may cause their own signal to be emitted should use...
```js let foo = new RandomThing(); let id = foo.connect('whatever-signal', () => { GObject.signal_handler_block(foo, id); // Do stuff that would otherwise cause recursive errors... GObject.signal_handler_unblock(foo, id); }); ```
> ```GdkPixbuf.PixbufError: Unrecognised image file format`` That's not a recursive error. That's an unhanded error while trying to set an icon from a Pixbuf. Most likely here: https://github.com/ubuntu/gnome-shell-extension-appindicator/blob/master/dbusMenu.js#L618
> Thanks for the clarification, I'm none the wiser however as to what that means or whether it is related or relevant to the original issue here, hope to find...
I've been browsing those for a couple days. There's a release function but as soon as you hit it, it locks up the player. there's got to be a way...
We'll figure it out. It's got to be in there somewhere.
Maybe something along these lines? https://forum.videolan.org/viewtopic.php?t=90233