Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / desktops / pantheon / desktop / elementary-greeter / hardcode-fallback-background.patch
blob7d2afe7b16c3d659ccc722485e6aeffa59bc4021
1 diff --git a/src/Widgets/BackgroundImage.vala b/src/Widgets/BackgroundImage.vala
2 index ae9431c..f0f2a49 100644
3 --- a/src/Widgets/BackgroundImage.vala
4 +++ b/src/Widgets/BackgroundImage.vala
5 @@ -9,7 +9,7 @@ public class Greeter.BackgroundImage : Gtk.EventBox {
7 public BackgroundImage (string? path) {
8 if (path == null) {
9 - path = "/usr/share/backgrounds/elementaryos-default";
10 + path = "@default_wallpaper@";
13 try {
14 @@ -19,7 +19,7 @@ public class Greeter.BackgroundImage : Gtk.EventBox {
15 critical ("Fallback to default wallpaper");
17 try {
18 - full_pixbuf = new Gdk.Pixbuf.from_file ("/usr/share/backgrounds/elementaryos-default");
19 + full_pixbuf = new Gdk.Pixbuf.from_file ("@default_wallpaper@");
20 } catch (GLib.Error e) {
21 critical (e.message);