added power button in application
[livewp] / applet / src / livewp-home-widget.c
index 935bdb4..590cb2f 100644 (file)
@@ -521,7 +521,7 @@ change_wind(Actor *actor, AWallpaperPlugin *desktop_plugin)
     if (scene.wind_orientation == 0) scene.wind_orientation = -1;
     scene.wind_angle = (double)(fast_rnd(200) - 100) / 100;
     actor->time_start_animation = time(NULL) + (fast_rnd(10) + 10) * 60;
-    fprintf(stderr, "change wind orient = %d angle = %f after = %d\n", scene.wind_orientation, scene.wind_angle, actor->time_start_animation-time(NULL));
+    //fprintf(stderr, "change wind orient = %d angle = %f after = %d\n", scene.wind_orientation, scene.wind_angle, actor->time_start_animation-time(NULL));
 }
 
 void 
@@ -585,7 +585,6 @@ create_hildon_actor(Actor *actor, AWallpaperPlugin *desktop_plugin)
                                              actor->width, 
                                              actor->height, 
                                              NULL);
-  fprintf(stderr, "33333 create actor=%s filename=%s\n", actor->name, str);
   if (str)
       g_free(str);
   if (pixbuf){
@@ -635,7 +634,6 @@ change_hildon_actor(Actor *actor, AWallpaperPlugin *desktop_plugin)
     str = g_strdup_printf( "%s/%s/%s", THEME_PATH, 
                             desktop_plugin->priv->theme, actor->filename);
  
-    fprintf(stderr, "44444 change actor=%s filename=%s\n", actor->name, str);
     pixbuf = gdk_pixbuf_new_from_file_at_size (str, 
                                                actor->width, 
                                                actor->height, 
@@ -1375,7 +1373,6 @@ run_long_timeout(AWallpaperPlugin *desktop_plugin)
             pfunc =((Actor*)tmp->data)->func_change;
             if (pfunc){
                 (*pfunc)(tmp->data, desktop_plugin);
-                fprintf(stderr, "7777 change  %s\n", actor->name);
             }
             tmp = g_slist_next(tmp);
         }
@@ -1393,11 +1390,9 @@ run_long_timeout(AWallpaperPlugin *desktop_plugin)
             if (desktop_plugin->priv->rich_animation){
                 actor->time_start_animation = now;
                 desktop_plugin->priv->short_timer = g_timeout_add(SHORT_TIMER, (GtkFunction)short_timeout, desktop_plugin);
-                fprintf(stderr, "55555 start animation for %s\n", actor->name);
             }
             else {
                 (*actor->func_change)(actor, desktop_plugin);
-                fprintf(stderr, "66666 change  %s\n", actor->name);
             }
         }
         tmp = g_slist_next(tmp);