theme: update system grey background

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2174
This commit is contained in:
Jakub Steiner 2020-02-04 12:29:02 +01:00 committed by Jakub Steiner
parent 404ae0a897
commit b58d702a2d
4 changed files with 2 additions and 6 deletions

View File

@ -18,7 +18,6 @@
<file alias="icons/message-indicator-symbolic.svg">message-indicator-symbolic.svg</file> <file alias="icons/message-indicator-symbolic.svg">message-indicator-symbolic.svg</file>
<file>no-events.svg</file> <file>no-events.svg</file>
<file>no-notifications.svg</file> <file>no-notifications.svg</file>
<file>noise-texture.png</file>
<file>pad-osd.css</file> <file>pad-osd.css</file>
<file alias="icons/eye-open-negative-filled-symbolic.svg">eye-open-negative-filled-symbolic.svg</file> <file alias="icons/eye-open-negative-filled-symbolic.svg">eye-open-negative-filled-symbolic.svg</file>
<file alias="icons/eye-not-looking-symbolic.svg">eye-not-looking-symbolic.svg</file> <file alias="icons/eye-not-looking-symbolic.svg">eye-not-looking-symbolic.svg</file>

View File

@ -70,8 +70,7 @@ $_screenshield_shadow: 0px 0px 6px rgba(0, 0, 0, 0.726);
} }
#lockDialogGroup { #lockDialogGroup {
background: lighten(#2e3436, 8%) url(resource:///org/gnome/shell/theme/noise-texture.png); background-color: lighten(#2e3436, 8%);
background-repeat: repeat;
} }
#screenShieldNotifications { #screenShieldNotifications {
@ -80,4 +79,4 @@ $_screenshield_shadow: 0px 0px 6px rgba(0, 0, 0, 0.726);
&:hover, &:focus { background-color: transparentize($bg_color,0.5); } &:hover, &:focus { background-color: transparentize($bg_color,0.5); }
&:active { background-color: transparentize($selected_bg_color,0.5); } &:active { background-color: transparentize($selected_bg_color,0.5); }
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

View File

@ -504,12 +504,10 @@ var SystemBackground = GObject.registerClass({
Signals: { 'loaded': {} }, Signals: { 'loaded': {} },
}, class SystemBackground extends Meta.BackgroundActor { }, class SystemBackground extends Meta.BackgroundActor {
_init() { _init() {
let file = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/noise-texture.png');
if (_systemBackground == null) { if (_systemBackground == null) {
_systemBackground = new Meta.Background({ meta_display: global.display }); _systemBackground = new Meta.Background({ meta_display: global.display });
_systemBackground.set_color(DEFAULT_BACKGROUND_COLOR); _systemBackground.set_color(DEFAULT_BACKGROUND_COLOR);
_systemBackground.set_file(file, GDesktopEnums.BackgroundStyle.WALLPAPER);
} }
super._init({ super._init({