I all !
I’m trying to code a Gnome extension to change the
So I created a custom button and added the following line in the button object extending
It indeed associates the
aggregateMenu to my button, but it is displayed at the top left of the screen whilst button is at the top right ; and worst than that, the menu diseapears as soon as I release the click of the mouse !
So I did
this.setMenu(Main.panel.statusArea.aggregateMenu.menu); this.menu.sourceActor = this
This brings the menu to the right position… but it still disappears when I release the click of the mouse.
I tryed to set the
focusActor variable as well, it doesn’t change anything.
After hours of source code seeking I don’t find anything. Any help whould be appreciable