[gnome-shell] keyboard: Treat menu items as actors
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] keyboard: Treat menu items as actors
- Date: Mon, 9 Sep 2019 19:37:28 +0000 (UTC)
commit 7a4f9a5ff3e484054d42070c458cd27525cb79c4
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Sat Jul 13 01:50:58 2019 +0200
keyboard: Treat menu items as actors
This is a leftover of GNOME/gnome-shell!499, since menu items are all
actors now, we can just avoid using the actor property when adding an
action item.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700
js/ui/keyboard.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index d137d84b6e..68071506f4 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -193,12 +193,12 @@ var LanguageSelectionPopup = class extends PopupMenu.PopupMenu {
item = this.addAction(is.displayName, () => {
inputSourceManager.activateInputSource(is, true);
});
- item.actor.can_focus = false;
+ item.can_focus = false;
}
this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
item = this.addSettingsAction(_("Region & Language Settings"), 'gnome-region-panel.desktop');
- item.actor.can_focus = false;
+ item.can_focus = false;
this._capturedEventId = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]