[gnome-shell/wip/rstrode/login-screen-extensions: 3441/3441] 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: 3441/3441] sessionMode: Allow extensions at the login and unlock screens
- Date: Mon, 30 Aug 2021 13:26:30 +0000 (UTC)
commit 8be5dd2d015e820aa98617b06aea5c1d1adb677e
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 | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
index 4d4fb2444c..0534fd1d46 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -43,6 +43,7 @@ const _modes = {
},
'gdm': {
+ allowExtensions: true,
hasNotifications: true,
isGreeter: true,
isPrimary: true,
@@ -59,6 +60,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]