Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : weather

Dir     : e_modules/weather


Modified Files:
        e_mod_main.c weather.edc 


Log Message:
Fix weather edc for detailed mode. Text was displaying off to the side of
the module.

===================================================================
RCS file: /cvs/e/e_modules/weather/e_mod_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_mod_main.c        29 Mar 2006 23:36:24 -0000      1.16
+++ e_mod_main.c        2 Apr 2006 00:18:05 -0000       1.17
@@ -642,7 +642,7 @@
 {
    char *needle, *ext;
    char location[256];
-   
+
    needle = strstr(wf->buffer, "<title");
    if (!needle)
      goto error;
===================================================================
RCS file: /cvs/e/e_modules/weather/weather.edc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- weather.edc 1 Apr 2006 11:01:38 -0000       1.8
+++ weather.edc 2 Apr 2006 00:18:05 -0000       1.9
@@ -30,6 +30,23 @@
                  description
                    {
                       state:    "default" 0.0;
+                      aspect:   1.0 1.0;
+                      align:    0.0 0.0;
+                      rel1
+                        {
+                           relative: 0.0 0.0;
+                           offset:   0   0;
+                        }
+                      rel2
+                        {
+                           relative: 1.0 1.0;
+                           offset:   -1  -1;
+                        }
+                      color: 0 0 0 0;
+                   }
+                 description
+                   {
+                      state:    "simple" 0.0;
                       //aspect:   1.0 1.0;
                       align:    0.5 0.5;
                       rel1
@@ -43,7 +60,7 @@
                            offset:   -1  -1;
                         }
                       color: 0 0 0 0;
-                   }
+                   }             
               }
             part
               {
@@ -98,7 +115,7 @@
                       rel2
                         {
                            relative: 1.0 0.0;
-                           offset:   0  0;
+                           offset:   -1  0;
                            to_y:     "line";
                         }
                       color:  255 255 255 255;
@@ -133,7 +150,7 @@
                       rel1
                         {
                            relative: 1.0 0.0;
-                           offset:   0  0;
+                           offset:   -1  0;
                            to_x:     "icon";
                         }
                       rel2
@@ -227,12 +244,14 @@
                            set_state(PART:"location", "simple", 0.0);
                            set_state(PART:"conditions", "simple", 0.0);
                            set_state(PART:"line", "simple", 0.0);
+                           set_state(PART:"icon", "simple", 0.0);
                         }
                       else
                         {
                            set_state(PART:"location", "default", 0.0);
                            set_state(PART:"conditions", "default", 0.0);
                            set_state(PART:"line", "default", 0.0);
+                           set_state(PART:"icon", "default", 0.0);
                         }
                    }
               }




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to