Merge branch 'master' of https://vcs.maemo.org/git/livewp
authortanya <tanya@tanin.oblgaz>
Fri, 9 Apr 2010 12:29:03 +0000 (15:29 +0300)
committertanya <tanya@tanin.oblgaz>
Fri, 9 Apr 2010 12:29:03 +0000 (15:29 +0300)
Conflicts:

applet/src/livewp-home-widget.c

1  2 
applet/src/livewp-home-widget.c

@@@ -705,14 -704,16 +705,17 @@@ change_actor(GtkWidget * actor
  static gboolean
  plugin_on_timeout (AWallpaperPlugin *desktop_plugin)
  {
--  gint daytime = get_daytime();
--  GSList * tmp;
--  gchar * name;
--  void (*pfunc)(gpointer, gpointer);
--  time_t now;
--  gint t;
--  Actor *actor;
 -
 -if (!desktop_plugin->priv->visible)
 -    return TRUE;
++      gint daytime = get_daytime();
++      GSList * tmp;
++      gchar * name;
++      void (*pfunc)(gpointer, gpointer);
++      time_t now;
++      gint t;
++      Actor *actor;
++
++    /* TODO  remove timeout */
++    if (!desktop_plugin->priv->visible)
++        return TRUE;
  fprintf(stderr, "timer daytime=%d\n", daytime);
    if (scene.daytime != daytime){
        tmp = scene.actors;