...
 
Commits (4)
switchboard-plug-pantheon-shell (2.8.1) bionic; urgency=medium
* New upstream release.
-- Cody Garver <codygarver@gmail.com> Wed, 27 Mar 2019 06:34:07 -0500
switchboard-plug-pantheon-shell (2.8.0) bionic; urgency=medium
* New upstream release.
-- Cody Garver <cody@elementary.io> Fri, 21 Dec 2018 05:29:38 -0600
switchboard-plug-pantheon-shell (2.7.2) bionic; urgency=medium
* New upstream release.
-- Cody Garver <cody@elementary.io> Wed, 28 Nov 2018 07:34:36 -0600
switchboard-plug-pantheon-shell (2.7.1) bionic; urgency=medium
* New upstream release.
-- Cody Garver <cody@elementary.io> Mon, 15 Oct 2018 19:20:01 -0500
switchboard-plug-pantheon-shell (0.2.7) bionic; urgency=medium
* New upstream release.
......
......@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 10.5.1),
libgexiv2-dev,
libgnome-desktop-3-dev,
libgranite-dev,
libgtk-3-dev (>= 3.14),
libgtk-3-dev (>= 3.22),
libplank-dev,
libswitchboard-2.0-dev,
meson,
......
......@@ -2,21 +2,12 @@ Index: switchboard-plug-pantheon-shell/src/Views/Wallpaper.vala
===================================================================
--- switchboard-plug-pantheon-shell.orig/src/Views/Wallpaper.vala
+++ switchboard-plug-pantheon-shell/src/Views/Wallpaper.vala
@@ -206,6 +206,7 @@ public class Wallpaper : Gtk.Grid {
var local_file = copy_for_library (file);
if (local_file != null) {
uri = local_file.get_uri ();
+ path = local_file.get_path ();
}
@@ -442,7 +442,7 @@ public class Wallpaper : Gtk.Grid {
try {
string greeter_data_dir = Path.build_filename (Environment.get_variable ("XDG_GREETER_DATA_DIR"), "wallpaper");
if (greeter_data_dir == "") {
- greeter_data_dir = Path.build_filename ("/var/lib/lightdm-data/", Environment.get_user_name (), "wallpaper");
+ greeter_data_dir = Path.build_filename ("/var/lib/lightdm/data/", Environment.get_user_name (), "wallpaper");
}
@@ -215,6 +216,9 @@ public class Wallpaper : Gtk.Grid {
}
settings.set_string ("picture-uri", uri);
+ string home_path = GLib.Environment.get_home_dir() + "/.background";
+ GLib.FileUtils.unlink (home_path);
+ GLib.FileUtils.symlink (path, home_path);
accountsservice.set_background_file (path);
} catch (Error e) {
warning (e.message);
var folder = File.new_for_path (greeter_data_dir);