fix batget restart on shelf re-config so it displays right

SVN revision: 33972
This commit is contained in:
Carsten Haitzler 2008-03-09 17:31:12 +00:00
parent 1186949fbc
commit 930f53e765
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
E_Gadcon_Client *gcc;
Instance *inst;
battery_config->full = -2;
battery_config->time_left = -2;
battery_config->have_battery = -2;
battery_config->have_power = -2;
inst = E_NEW(Instance, 1);
o = edje_object_add(gc->evas);