summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2014-03-31 12:40:37 +0100
committerMarco Barisione <marco.barisione@collabora.co.uk>2014-03-31 14:15:24 +0100
commit94c3f901302d6d5ba0ad2caa33e09a501804aec5 (patch)
tree41f413b46b4223927524a9770c660dc2b98d6039
parent0e1699086f65bd942ae051f62d3fd45deea15fd2 (diff)
downloadgraynard-94c3f901302d6d5ba0ad2caa33e09a501804aec5.tar.gz
graynard-94c3f901302d6d5ba0ad2caa33e09a501804aec5.zip
maynard: use a nice background from kdewallpapers as default
-rw-r--r--shell/maynard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/maynard.c b/shell/maynard.c
index c3e45d1..b7a51d5 100644
--- a/shell/maynard.c
+++ b/shell/maynard.c
@@ -41,7 +41,7 @@
extern char **environ; /* defined by libc */
-#define DEFAULT_BACKGROUND "/usr/share/themes/Adwaita/backgrounds/morning.jpg""
+#define DEFAULT_BACKGROUND "/usr/share/wallpapers/Hanami/contents/images/3872x2592.jpg"
struct element {
GtkWidget *window;
@@ -422,7 +422,8 @@ background_create(struct desktop *desktop)
filename = DEFAULT_BACKGROUND;
background->pixbuf = gdk_pixbuf_new_from_file (filename, NULL);
if (!background->pixbuf) {
- g_message ("Could not load background.");
+ g_message ("Could not load background. "
+ "Do you have kdewallpapers installed?");
exit (EXIT_FAILURE);
}