Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mixer
Dir : e_modules/mixer Modified Files: e_mod_main.c Log Message: Fix icon state. =================================================================== RCS file: /cvs/e/e_modules/mixer/e_mod_main.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- e_mod_main.c 11 Sep 2006 15:39:41 -0000 1.18 +++ e_mod_main.c 11 Sep 2006 15:44:29 -0000 1.19 @@ -600,11 +600,11 @@ ret = mixer->mix_sys->set_volume(ci->card_id, ci->channel_id, val); if (ret) { - if ((val * 100) < 33) + if (val < 33) edje_object_signal_emit(mixer->base, "low", ""); - else if (((val * 100) >= 34) && ((val * 100) < 66)) + else if ((val >= 34) && (val < 66)) edje_object_signal_emit(mixer->base, "medium", ""); - else if ((val * 100) > 66) + else if (val > 66) edje_object_signal_emit(mixer->base, "high", ""); } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs