mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
padOsd: Set menu manager on pad chooser popup
Likewise to action menus, this does now need a menu manager that lets the popup stack a grab on top of the pad OSD's. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2279>
This commit is contained in:
parent
1c95283913
commit
9ee7af233c
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ var PadChooser = GObject.registerClass({
|
|||
this._padChooserMenu.actor.hide();
|
||||
Main.uiGroup.add_actor(this._padChooserMenu.actor);
|
||||
|
||||
this._menuManager = new PopupMenu.PopupMenuManager(this);
|
||||
this._menuManager.addMenu(this._padChooserMenu);
|
||||
|
||||
for (let i = 0; i < devices.length; i++) {
|
||||
let device = devices[i];
|
||||
if (device == this.currentDevice)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue