fixed tram
[livewp] / applet / src / livewp-home-widget.c
index 2615524..f309794 100644 (file)
@@ -795,7 +795,7 @@ init_scene(AWallpaperPlugin *desktop_plugin)
 
   actor = init_object(desktop_plugin, "tram", "tram.png", -300, 225, 9, 350, 210, 
                       FALSE, 100, 255, (gpointer)&change_tram, NULL);
-  actor->time_start_animation = time(NULL) + fast_rnd(60);
+  actor->time_start_animation = time(NULL) + fast_rnd(10); 
   actor->duration_animation = 60;
   scene.actors = g_slist_append(scene.actors, actor);
 
@@ -1004,6 +1004,7 @@ init_scene(AWallpaperPlugin *desktop_plugin)
 
     }
 
+    run_long_timeout(desktop_plugin);
 #if 0    
   anim = g_new0(Animation, 1);
   anim->count = 1;
@@ -1152,6 +1153,8 @@ init_scene1(AWallpaperPlugin *desktop_plugin)
         scene.actors = g_slist_append(scene.actors, actor);
 
     }
+    
+    run_long_timeout(desktop_plugin);
 
 }