about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/pantheon/apps/switchboard-plugs/about/fix-background-path.patch
blob: 6fea886913311e9f26cd2ca5f66b9a5193ac1dbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/Views/OperatingSystemView.vala b/src/Views/OperatingSystemView.vala
index fdb92e7e..4161538e 100644
--- a/src/Views/OperatingSystemView.vala
+++ b/src/Views/OperatingSystemView.vala
@@ -47,7 +47,7 @@ public class About.OperatingSystemView : Gtk.Grid {
         };
         logo.set_image_load_func ((size) => {
             try {
-                return new Gdk.Pixbuf.from_file_at_scale ("/usr/share/backgrounds/elementaryos-default", -1, size, true);
+                return new Gdk.Pixbuf.from_file_at_scale ("@default_wallpaper@", -1, size, true);
             } catch (Error e) {
                 critical (e.message);
             }