Enlightenment CVS committal

Author  : urandom
Project : e_modules
Module  : forecasts

Dir     : e_modules/forecasts


Modified Files:
        README configure.in e_mod_config.c e_mod_main.c 


Log Message:
Added the current temp to the popup, and a bg translation

===================================================================
RCS file: /cvs/e/e_modules/forecasts/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- README      24 Feb 2007 08:21:40 -0000      1.1
+++ README      27 Feb 2007 03:53:24 -0000      1.2
@@ -1 +1,2 @@
+weather images with permission from www.h0ax.org and www.hamweather.com
 new weather images are part of the kapsule icon pack. they should be replaced
===================================================================
RCS file: /cvs/e/e_modules/forecasts/configure.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- configure.in        24 Feb 2007 08:21:40 -0000      1.1
+++ configure.in        27 Feb 2007 03:53:24 -0000      1.2
@@ -17,7 +17,7 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
-ALL_LINGUAS="eo it ja sv"
+ALL_LINGUAS="bg eo it ja sv"
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])
===================================================================
RCS file: /cvs/e/e_modules/forecasts/e_mod_config.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_config.c      24 Feb 2007 08:52:55 -0000      1.2
+++ e_mod_config.c      27 Feb 2007 03:53:24 -0000      1.3
@@ -112,7 +112,7 @@
   ob = e_widget_label_add(evas, D_("Get your Yahoo Forecasts Code code at:"));
   e_widget_frametable_object_append(of, ob, 0, 1, 1, 1, 1, 0, 1, 0);
   ob =
-    e_widget_label_add(evas, D_("http://weather.yahoo.com";));
+    e_widget_label_add(evas, "http://weather.yahoo.com";);
   e_widget_frametable_object_append(of, ob, 0, 2, 2, 1, 1, 0, 1, 0);
   e_widget_list_object_append(o, of, 1, 1, 0.5);
 
===================================================================
RCS file: /cvs/e/e_modules/forecasts/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c        27 Feb 2007 00:25:18 -0000      1.3
+++ e_mod_main.c        27 Feb 2007 03:53:24 -0000      1.4
@@ -1027,8 +1027,7 @@
   e_widget_list_object_append(o, of, 1, 1, 0.5);
   ol = e_widget_list_add(evas, 1, 1);
 
-  for (i = 0; i < FORECASTS; i++)
-    {
+  for (i = 0; i < FORECASTS; i++) {
        int row = 0;
 
        of = e_widget_frametable_add(evas, D_("No date"), 0);
@@ -1055,7 +1054,7 @@
        e_widget_frametable_object_append(of, ob, 1, row, 1, 1, 1, 0, 1, 0);
        inst->popup->low[i] = ob;
        e_widget_list_object_append(ol, of, 1, 1, 0.5);
-    }
+  }
 
   e_widget_list_object_append(o, ol, 1, 1, 0.5);
   inst->popup->o_list = o;
@@ -1073,7 +1072,7 @@
    snprintf(buf, sizeof(buf), "%s", inst->location);
    e_widget_frametable_label_set(inst->popup->o_ft[0], buf);
 
-   snprintf(buf, sizeof(buf), "%s", inst->condition.desc);
+   snprintf(buf, sizeof(buf), "%s: %d°%c", inst->condition.desc, 
inst->condition.temp, inst->units.temp);
    e_widget_label_text_set(inst->popup->current_desc, buf);
 
    snprintf(buf, sizeof(buf), "%d°%c", inst->details.wind.chill, 
inst->units.temp);
@@ -1111,8 +1110,7 @@
 
    e_widget_frametable_content_align_set(inst->popup->o_ft[0], 0.5, 0.5);
 
-   for (i = 0; i < FORECASTS; i++)
-     {
+   for (i = 0; i < FORECASTS; i++) {
        e_widget_image_object_set(inst->popup->f_icon[i],
              _forecasts_popup_icon_create(inst->popup, 
inst->forecast[i].code));
 
@@ -1129,7 +1127,7 @@
        e_widget_label_text_set(inst->popup->desc[i], buf);
 
        e_widget_frametable_content_align_set(inst->popup->o_ft[i+1], 0.5, 0.5);
-     }
+   }
 
    e_widget_min_size_get(inst->popup->o_list, &pw, &ph);
    edje_extern_object_min_size_set(inst->popup->o_list, pw, ph);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to