diff --git a/panels/background/Makefile.am b/panels/background/Makefile.am index e1d98fe9d..29fcb0eed 100644 --- a/panels/background/Makefile.am +++ b/panels/background/Makefile.am @@ -19,6 +19,7 @@ INCLUDES = \ -DUIDIR="\"$(uidir)\"" \ -DDATADIR="\"$(datadir)\"" \ -DGNOME_DESKTOP_USE_UNSTABLE_API \ + -DPIXMAP_DIR=\""$(datadir)/gnome-control-center/pixmaps"\" \ $(NULL) ccpanelsdir = $(PANELS_DIR) @@ -84,6 +85,10 @@ gdesktop-enums-types.c: $(GDESKTOP_PREFIX)/include/gsettings-desktop-schemas/gde @INTLTOOL_DESKTOP_RULE@ +pixmapdir = $(pkgdatadir)/pixmaps +pixmap_DATA = \ + noise-texture-light.png + desktopdir = $(datadir)/applications desktop_in_files = gnome-background-panel.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) diff --git a/panels/background/bg-colors-source.c b/panels/background/bg-colors-source.c index 0223dad20..e80c3a6e7 100644 --- a/panels/background/bg-colors-source.c +++ b/panels/background/bg-colors-source.c @@ -86,7 +86,7 @@ bg_colors_source_init (BgColorsSource *self) /* It does have a URI, it's "none" */ g_object_set (G_OBJECT (item), - "uri", "file:///" DATADIR "/gnome-shell/theme/noise-texture.png", + "uri", "file:///" DATADIR "/gnome-control-center/pixmaps/noise-texture-light.png", "primary-color", items[i].pcolor, "secondary-color", items[i].pcolor, "shading", items[i].type, diff --git a/panels/background/noise-texture-light.png b/panels/background/noise-texture-light.png new file mode 100644 index 000000000..f73293efa Binary files /dev/null and b/panels/background/noise-texture-light.png differ