X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=applet%2Fsrc%2Flivewp-scene.c;fp=applet%2Fsrc%2Flivewp-scene.c;h=e800a83e7f36c06e55dc3721b7ad10d149e9ef71;hb=2091a36f080a7dc077fd73c7a417d17b408e57ed;hp=2113f9b37e065ddbb70369aaffc24717714eed9c;hpb=cdbd27199ab0489899420963e88704f5cb8a04dc;p=livewp diff --git a/applet/src/livewp-scene.c b/applet/src/livewp-scene.c index 2113f9b..e800a83 100644 --- a/applet/src/livewp-scene.c +++ b/applet/src/livewp-scene.c @@ -384,7 +384,7 @@ init_scene_Video(AWallpaperPlugin *desktop_plugin) void init_scene_Slideshow(AWallpaperPlugin *desktop_plugin) { - gchar *ext, *file, *str; + gchar *ext, *file, *str, *bgfile; Dirent *dp; DIR *dir_fd; int i; @@ -423,6 +423,13 @@ init_scene_Slideshow(AWallpaperPlugin *desktop_plugin) } closedir(dir_fd); } + + bgfile = g_strdup_printf("/home/user/.backgrounds/background-%i.png", desktop_plugin->priv->view); + actor = init_object(desktop_plugin, "original", bgfile, + 0, 0, 0, 800, 480, + TRUE, TRUE, 100, 255, + NULL, NULL, NULL); + scene->actors = g_slist_append(scene->actors, actor); child = g_ptr_array_sized_new(num); while (store){