Allow classification banners on lock/login screen

Resolves: #2031186
This commit is contained in:
Florian Müllner 2021-12-14 18:15:54 +01:00
parent 15e44cc273
commit 644a7def81
2 changed files with 11 additions and 6 deletions

View File

@ -66732,7 +66732,7 @@ index 14e60ccb..4bdf7154 100644
2.33.1 2.33.1
From d1d06e1ad24b0ddb3745bd08c4ecd6ef1cfbd4c7 Mon Sep 17 00:00:00 2001 From 01a4309a2574768c037f14732e8595c1f436170f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Thu, 2 Dec 2021 19:39:50 +0100 Date: Thu, 2 Dec 2021 19:39:50 +0100
Subject: [PATCH 6/6] Add classification-banner Subject: [PATCH 6/6] Add classification-banner
@ -66741,12 +66741,12 @@ Subject: [PATCH 6/6] Add classification-banner
extensions/classification-banner/adwShim.js | 202 ++++++++++++++++++ extensions/classification-banner/adwShim.js | 202 ++++++++++++++++++
extensions/classification-banner/extension.js | 169 +++++++++++++++ extensions/classification-banner/extension.js | 169 +++++++++++++++
extensions/classification-banner/meson.build | 8 + extensions/classification-banner/meson.build | 8 +
.../classification-banner/metadata.json.in | 10 + .../classification-banner/metadata.json.in | 11 +
...tensions.classification-banner.gschema.xml | 29 +++ ...tensions.classification-banner.gschema.xml | 29 +++
extensions/classification-banner/prefs.js | 197 +++++++++++++++++ extensions/classification-banner/prefs.js | 197 +++++++++++++++++
.../classification-banner/stylesheet.css | 3 + .../classification-banner/stylesheet.css | 3 +
meson.build | 1 + meson.build | 1 +
8 files changed, 619 insertions(+) 8 files changed, 620 insertions(+)
create mode 100644 extensions/classification-banner/adwShim.js create mode 100644 extensions/classification-banner/adwShim.js
create mode 100644 extensions/classification-banner/extension.js create mode 100644 extensions/classification-banner/extension.js
create mode 100644 extensions/classification-banner/meson.build create mode 100644 extensions/classification-banner/meson.build
@ -67154,10 +67154,10 @@ index 00000000..b027381d
+extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml') +extension_schemas += files(metadata_conf.get('gschemaname') + '.gschema.xml')
diff --git a/extensions/classification-banner/metadata.json.in b/extensions/classification-banner/metadata.json.in diff --git a/extensions/classification-banner/metadata.json.in b/extensions/classification-banner/metadata.json.in
new file mode 100644 new file mode 100644
index 00000000..57c84691 index 00000000..f93b1a2d
--- /dev/null --- /dev/null
+++ b/extensions/classification-banner/metadata.json.in +++ b/extensions/classification-banner/metadata.json.in
@@ -0,0 +1,10 @@ @@ -0,0 +1,11 @@
+{ +{
+"extension-id": "@extension_id@", +"extension-id": "@extension_id@",
+"uuid": "@uuid@", +"uuid": "@uuid@",
@ -67166,6 +67166,7 @@ index 00000000..57c84691
+"name": "Classification Banner", +"name": "Classification Banner",
+"description": "Display classification level banner", +"description": "Display classification level banner",
+"shell-version": [ "@shell_current@" ], +"shell-version": [ "@shell_current@" ],
+"session-modes": [ "gdm", "unlock-dialog", "user" ],
+"url": "@url@" +"url": "@url@"
+} +}
diff --git a/extensions/classification-banner/org.gnome.shell.extensions.classification-banner.gschema.xml b/extensions/classification-banner/org.gnome.shell.extensions.classification-banner.gschema.xml diff --git a/extensions/classification-banner/org.gnome.shell.extensions.classification-banner.gschema.xml b/extensions/classification-banner/org.gnome.shell.extensions.classification-banner.gschema.xml

View File

@ -7,7 +7,7 @@
Name: gnome-shell-extensions Name: gnome-shell-extensions
Version: 40.5 Version: 40.5
Release: 3%{?dist} Release: 4%{?dist}
Summary: Modify and extend GNOME Shell functionality and behavior Summary: Modify and extend GNOME Shell functionality and behavior
License: GPLv2+ License: GPLv2+
@ -405,6 +405,10 @@ workspaces.
%changelog %changelog
* Tue Dec 14 2021 Florian Müllner <fmuellner@redhat.com> - 40.5-4
- Allow classification banners on lock/login screen
Resolves: #2031186
* Tue Dec 14 2021 Florian Müllner <fmuellner@redhat.com> - 40.5-3 * Tue Dec 14 2021 Florian Müllner <fmuellner@redhat.com> - 40.5-3
- Fix classification-banner preferences - Fix classification-banner preferences
Resolves: #2031186 Resolves: #2031186