[gnome-shell/wip/rstrode/login-screen-extensions: 63/134] sessionMode: Allow extensions at the login and unlock screens
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/rstrode/login-screen-extensions: 63/134] sessionMode: Allow extensions at the login and unlock screens
- Date: Thu, 26 Aug 2021 19:31:00 +0000 (UTC)
commit d6a3a70ec7a1fefb2ea03ed750570ce49a0fcfd9
Author: Ray Strode <rstrode redhat com>
Date: Tue Aug 10 15:31:00 2021 -0400
sessionMode: Allow extensions at the login and unlock screens
Now extensions can specify which session modes they work in,
but specifying the login screen or unlock screen session modes in
an extensions metadata still won't work, because those session
modes disallow extensions.
This commit fixes that.
js/ui/sessionMode.js | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
index fa7f834160..8d8ce1a64b 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -39,6 +39,7 @@ const _modes = {
},
'gdm': {
+ allowExtensions: true,
hasNotifications: true,
isGreeter: true,
isPrimary: true,
@@ -55,6 +56,7 @@ const _modes = {
},
'lock-screen': {
+ allowExtensions: true,
isLocked: true,
isGreeter: undefined,
unlockDialog: undefined,
@@ -68,6 +70,7 @@ const _modes = {
},
'unlock-dialog': {
+ allowExtensions: true,
isLocked: true,
unlockDialog: undefined,
components: ['polkitAgent', 'telepathyClient'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]