background: Remove noise texture
Use the plain background color. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2174 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
This commit is contained in:
parent
84c7890917
commit
dee738e24f
@ -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>
|
||||||
|
@ -55,8 +55,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#lockDialogGroup {
|
#lockDialogGroup {
|
||||||
background: lighten(#2e3436, 8%) url(resource:///org/gnome/shell/theme/noise-texture.png);
|
background-color: lighten(#2e3436, 8%);
|
||||||
background-repeat: repeat;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#unlockDialogNotifications {
|
#unlockDialogNotifications {
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 78 KiB |
@ -504,12 +504,9 @@ 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({
|
||||||
@ -518,22 +515,11 @@ var SystemBackground = GObject.registerClass({
|
|||||||
background: _systemBackground,
|
background: _systemBackground,
|
||||||
});
|
});
|
||||||
|
|
||||||
let cache = Meta.BackgroundImageCache.get_default();
|
let id = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
|
||||||
let image = cache.load(file);
|
this.emit('loaded');
|
||||||
if (image.is_loaded()) {
|
return GLib.SOURCE_REMOVE;
|
||||||
image = null;
|
});
|
||||||
let id = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
|
GLib.Source.set_name_by_id(id, '[gnome-shell] SystemBackground.loaded');
|
||||||
this.emit('loaded');
|
|
||||||
return GLib.SOURCE_REMOVE;
|
|
||||||
});
|
|
||||||
GLib.Source.set_name_by_id(id, '[gnome-shell] SystemBackground.loaded');
|
|
||||||
} else {
|
|
||||||
let id = image.connect('loaded', () => {
|
|
||||||
this.emit('loaded');
|
|
||||||
image.disconnect(id);
|
|
||||||
image = null;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user