[gnome-power-manager] trivial: Fix up a compile error for time to empty string logic
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] trivial: Fix up a compile error for time to empty string logic
- Date: Thu, 29 Apr 2010 14:16:32 +0000 (UTC)
commit 0bfdf7f55a058dfafe919992816be8f867655533
Author: Richard Hughes <richard hughsie com>
Date: Thu Apr 29 15:14:57 2010 +0100
trivial: Fix up a compile error for time to empty string logic
src/gpm-upower.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-upower.c b/src/gpm-upower.c
index fbe3565..6cd87eb 100644
--- a/src/gpm-upower.c
+++ b/src/gpm-upower.c
@@ -293,7 +293,7 @@ gpm_upower_get_device_summary (UpDevice *device)
g_string_append (description, " - ");
/* TRANSLATORS: the device is charging, and we have a time to full and empty */
g_string_append_printf (description, _("provides %s battery runtime"),
- kind_desc, time_to_full_str, percentage, time_to_empty_str);
+ time_to_empty_str);
} else if (time_to_full_round > GPM_UP_TEXT_MIN_TIME) {
/* display only charge time */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]