Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/battery Modified Files: e_mod_main.c Log Message: Fix formatting. =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/battery/e_mod_main.c,v retrieving revision 1.118 retrieving revision 1.119 diff -u -3 -r1.118 -r1.119 --- e_mod_main.c 3 May 2008 21:49:37 -0000 1.118 +++ e_mod_main.c 3 May 2008 22:18:35 -0000 1.119 @@ -98,7 +98,7 @@ battery_config->instances = evas_list_remove(battery_config->instances, inst); evas_object_del(inst->o_battery); - if(inst->warning) + if (inst->warning) { e_object_del(E_OBJECT(inst->warning)); inst->popup_battery = NULL; @@ -238,7 +238,7 @@ if (!battery_config) return; - if(battery_config->instances) + if (battery_config->instances) { for (l = battery_config->instances; l; l = l->next) _battery_warning_popup_destroy(l->data); @@ -286,7 +286,7 @@ static void _battery_warning_popup_destroy(Instance *inst) { - if(!inst || !inst->warning) return; + if (!inst || !inst->warning) return; e_object_del(E_OBJECT(inst->warning)); inst->warning = NULL; @@ -539,7 +539,7 @@ edje_object_signal_emit(inst->o_battery, "e,state,discharging", "e"); - if(inst->popup_battery) + if (inst->popup_battery) edje_object_signal_emit(inst->popup_battery, "e,state,discharging", "e"); } @@ -550,7 +550,7 @@ { _battery_face_level_set(inst->o_battery, (double)full / 100.0); - if(inst->popup_battery) + if (inst->popup_battery) _battery_face_level_set(inst->popup_battery, (double)full / 100.0); } @@ -566,7 +566,7 @@ if (time_left != battery_config->time_left) { _battery_face_time_set(inst->o_battery, time_left); - if(inst->popup_battery) + if (inst->popup_battery) _battery_face_time_set(inst->popup_battery, time_left); } @@ -579,7 +579,7 @@ if (++debounce_popup == POPUP_DEBOUNCE_CYCLES) _battery_warning_popup(inst, time_left, (double)full/100.0); } - else if(have_power) + else if (have_power) _battery_warning_popup_destroy(inst); } if (!have_battery) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs