1 Index: gpe-conf-0.1.22/battery.c
2 ===================================================================
3 --- gpe-conf-0.1.22.orig/battery.c 2005-02-17 13:13:00.000000000 +0000
4 +++ gpe-conf-0.1.22/battery.c 2005-02-17 13:39:43.000000000 +0000
11 + if (percent > 100) percent=100;
12 + if (percent < 0 ) percent=0;
14 gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (batt_int.bar),
15 (float)percent/100.0);
16 toolbar_set_style (batt_int.bar, barstate);