Ok I'm stupid, 10C is close to 40F and so on, but still the patch fixes
bugs with celsius, and does set the high/low values with greater
precision in advanced mode.

On Mon, 2005-12-19 at 09:29 +0100, Tobias wrote:
> In the temperature config the conversions between fahrenheit and celsius
> doesn't work, or I don't understand the code at all.
> When applying advanced config:
> 
> if (cfdata->low_temp <= 40) 
> }
>   t->conf->low = (10 + (30 * t->conf->units));    
> }
> ...
> 
> where units is an enum starting with celsius, I don't see how this would
> convert anything but setting the temperature to 10 if celsius is set. Or
> am I missing something here ? 
> 
> This patch makes the temperature config actually convert between
> fahrenheit and celsius. I've also changed some of the default values in
> the basic config dialog (40F??, that's like almost colder than my
> refrigerator =) ).
> 
> /Regards
> Tobias Glenstrup
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to