gnome-shell/gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch
Dominique Leuenberger d50cd0f61c Accepting request 833590 from home:xiaoguang_wang:branches:GNOME:Factory
- Move branding image file to branding-SLE package
  (jsc#SLE-11720 bsc#1176304).
  + Update gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch
  + Remove sle-background.png

OBS-URL: https://build.opensuse.org/request/show/833590
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=448
2020-09-11 08:20:01 +00:00

16 lines
623 B
Diff

Index: gnome-shell-3.34.5/js/ui/unlockDialog.js
===================================================================
--- gnome-shell-3.34.5.orig/js/ui/unlockDialog.js
+++ gnome-shell-3.34.5/js/ui/unlockDialog.js
@@ -23,6 +23,10 @@ var UnlockDialog = GObject.registerClass
visible: false,
});
+ let path = '/usr/share/gnome-shell/theme/SLE-background.png';
+ if (GLib.file_test(path, GLib.FileTest.EXISTS))
+ this.style = 'background: url(' + path + ')';
+
this.add_constraint(new Layout.MonitorConstraint({ primary: true }));
parentActor.add_child(this);