Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : wlan

Dir     : e_modules/wlan


Modified Files:
        e_mod_main.c 


Log Message:
Attempt #2 for wlan values fix.
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/wlan/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c        22 Feb 2006 12:24:03 -0000      1.8
+++ e_mod_main.c        26 Feb 2006 20:55:05 -0000      1.9
@@ -468,8 +468,8 @@
    if (!found_dev)
      return 1;
    
-   /* Update the modules text */   
-   snprintf(in_str, sizeof(in_str), "LNK: %ld", (long)wlan_link);
+   /* Update the modules text */
+   snprintf(in_str, sizeof(in_str), "LNK: %d%%", (100 - (wlan_level - 
wlan_noise)));
    edje_object_part_text_set(nf->wlan_obj, "link-text", in_str);
    
    return 1;




-------------------------------------------------------
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