padOsd: Set menu manager on actions popup menu
Menus do need a menu manager to handle grabs for them, this is more necessary now that the padOsd do also push a Clutter.Grab. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2279>
This commit is contained in:
parent
cb2ee0cf1f
commit
1c95283913
@ -144,6 +144,9 @@ var ActionComboBox = GObject.registerClass({
|
||||
this._editMenu.actor.hide();
|
||||
Main.uiGroup.add_actor(this._editMenu.actor);
|
||||
|
||||
this._editMenuManager = new PopupMenu.PopupMenuManager(this);
|
||||
this._editMenuManager.addMenu(this._editMenu);
|
||||
|
||||
this._actionLabels = new Map();
|
||||
this._actionLabels.set(GDesktopEnums.PadButtonAction.NONE, _("Application defined"));
|
||||
this._actionLabels.set(GDesktopEnums.PadButtonAction.HELP, _("Show on-screen help"));
|
||||
|
Loading…
Reference in New Issue
Block a user