nothing
authorTanya <tanya@bookdmitri.oblgaz>
Fri, 9 Apr 2010 19:31:46 +0000 (22:31 +0300)
committerTanya <tanya@bookdmitri.oblgaz>
Fri, 9 Apr 2010 19:31:46 +0000 (22:31 +0300)
applet/data/theme/Berlin/gb 3 sky stars.png [deleted file]
applet/data/theme/Berlin/sky evening.png [deleted file]
applet/data/theme/Berlin/sky morning.png [deleted file]
applet/data/theme/Berlin/town evening.png [deleted file]
applet/data/theme/Berlin/town morning.png [deleted file]
applet/src/livewp-common.h
applet/src/livewp-home-widget.c
applet/src/livewp-rules.c

diff --git a/applet/data/theme/Berlin/gb 3 sky stars.png b/applet/data/theme/Berlin/gb 3 sky stars.png
deleted file mode 100644 (file)
index a55c4b2..0000000
Binary files a/applet/data/theme/Berlin/gb 3 sky stars.png and /dev/null differ
diff --git a/applet/data/theme/Berlin/sky evening.png b/applet/data/theme/Berlin/sky evening.png
deleted file mode 100644 (file)
index bf08cdd..0000000
Binary files a/applet/data/theme/Berlin/sky evening.png and /dev/null differ
diff --git a/applet/data/theme/Berlin/sky morning.png b/applet/data/theme/Berlin/sky morning.png
deleted file mode 100644 (file)
index 20594d7..0000000
Binary files a/applet/data/theme/Berlin/sky morning.png and /dev/null differ
diff --git a/applet/data/theme/Berlin/town evening.png b/applet/data/theme/Berlin/town evening.png
deleted file mode 100644 (file)
index 5512d82..0000000
Binary files a/applet/data/theme/Berlin/town evening.png and /dev/null differ
diff --git a/applet/data/theme/Berlin/town morning.png b/applet/data/theme/Berlin/town morning.png
deleted file mode 100644 (file)
index a9e4c7e..0000000
Binary files a/applet/data/theme/Berlin/town morning.png and /dev/null differ
index 2da389b..4288553 100644 (file)
@@ -32,8 +32,8 @@
 
 #define THEME_PATH "/usr/share/livewp/theme"
 #define SHORT_TIMER 100 /* 100 milisecond */
-#define LONG_TIMER 10*60*1000 /* 10 minutes */
-//#define LONG_TIMER  10*1000 /* 10 minutes */
+//#define LONG_TIMER 10*60*1000 /* 10 minutes */
+#define LONG_TIMER  10*1000 /* 10 minutes */
 enum { SHORT_TIMER_TYPE, LONG_TIMER_TYPE };
 
 
index 093cf2a..fa9144c 100644 (file)
@@ -536,7 +536,7 @@ fprintf(stderr, "init scene \n");
   change_static_actor(actor, desktop_plugin);
   scene.actors = g_slist_append(scene.actors, actor);
 
-  actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 20, -5, 70, 70, 
+  actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 20, -5, 60, 60, 
                       FALSE, 100, 255, &change_moon, NULL);
   change_moon(actor, desktop_plugin);
   scene.actors = g_slist_append(scene.actors, actor);
@@ -595,7 +595,7 @@ init_scene1(AWallpaperPlugin *desktop_plugin)
   change_static_actor(actor, desktop_plugin);
   scene.actors = g_slist_append(scene.actors, actor);
 
-  actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 20, -5, 70, 70, 
+  actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 20, -5, 60, 60, 
                       FALSE, 100, 255, &change_moon, NULL);
   change_moon(actor, desktop_plugin);
   scene.actors = g_slist_append(scene.actors, actor);
@@ -626,7 +626,7 @@ get_sun_screen_pos(double alt, double azm, gint * x, gint * y)
          o_height = 128; 
     *x = (int)(azm * 800) - 64;
     *y = (int)((1 - alt) * y0) - 64;
-    fprintf(stderr, "sun pos alt=%f azm=%f x=%d y=%d\n", alt, azm, *x, *y);
+    //fprintf(stderr, "sun pos alt=%f azm=%f x=%d y=%d\n", alt, azm, *x, *y);
 }
 #if 0
 static void 
@@ -756,7 +756,7 @@ long_timeout (AWallpaperPlugin *desktop_plugin)
     /* TODO  remove timeout */
     if (!desktop_plugin->priv->visible)
         return TRUE;
-fprintf(stderr, "timer daytime=%d\n", daytime);
+  //fprintf(stderr, "timer daytime=%d\n", daytime);
   if (scene.daytime != daytime){
       tmp = scene.actors;
       while (tmp != NULL){
index 473721c..e0e7a2f 100644 (file)
@@ -49,8 +49,8 @@ void get_localtime(int * year, int * month, int * day, int * hour, int * min, in
 
 void get_coord(double * lat, double * lon)
 {
-    *lat = 55.166666;
-    *lon = 30.166666;
+    *lat = 59.883333;
+    *lon = 30.25;
 }
 
 double