gnome-power-manager r2895 - in trunk: . src
- From: sdeburca svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2895 - in trunk: . src
- Date: Fri, 29 Aug 2008 07:50:02 +0000 (UTC)
Author: sdeburca
Date: Fri Aug 29 07:50:02 2008
New Revision: 2895
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2895&view=rev
Log:
2008-08-29 SeÃn de BÃrca <sdeburca svn gnome org>
* src/gpm-cell.c: (gpm_cell_get_description):
Handle "unknown" battery technology result from HAL. Fixes #549789.
Modified:
trunk/ChangeLog
trunk/src/gpm-cell.c
Modified: trunk/src/gpm-cell.c
==============================================================================
--- trunk/src/gpm-cell.c (original)
+++ trunk/src/gpm-cell.c Fri Aug 29 07:50:02 2008
@@ -568,6 +568,8 @@
technology = _("Lithium polymer");
} else if (strcasecmp (cell->priv->technology, "nickel-metal-hydride") == 0) {
technology = _("Nickel metal hydride");
+ } else if (strcasecmp (cell->priv->technology, "unknown") == 0) {
+ technology = _("Unknown");
} else {
gpm_warning ("Battery type %s not translated, please report!",
cell->priv->technology);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]