diff options
Diffstat (limited to 'packages/gpe-conf/gpe-conf-0.1.22/battery_with_no_lifetime.patch')
-rw-r--r-- | packages/gpe-conf/gpe-conf-0.1.22/battery_with_no_lifetime.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/gpe-conf/gpe-conf-0.1.22/battery_with_no_lifetime.patch b/packages/gpe-conf/gpe-conf-0.1.22/battery_with_no_lifetime.patch index e69de29bb2..099dd55b2f 100644 --- a/packages/gpe-conf/gpe-conf-0.1.22/battery_with_no_lifetime.patch +++ b/packages/gpe-conf/gpe-conf-0.1.22/battery_with_no_lifetime.patch @@ -0,0 +1,16 @@ +Index: gpe-conf-0.1.22/battery.c +=================================================================== +--- gpe-conf-0.1.22.orig/battery.c 2004-10-25 19:28:49.000000000 +0100 ++++ gpe-conf-0.1.22/battery.c 2005-02-17 13:04:41.000000000 +0000 +@@ -346,8 +346,10 @@ + + if (ac_connected) + sprintf(tmp,"%s",_("AC connected")); +- else ++ else if (remaining > 0) + sprintf(tmp,"%s: %d min.",_("Lifetime"), remaining); ++ else ++ sprintf(tmp,""); + gtk_label_set_text(GTK_LABEL(batt_int.llifetime),tmp); + } + } |