[gnome-battery-bench] Abbreviate watt-hours as Wh not WH
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-battery-bench] Abbreviate watt-hours as Wh not WH
- Date: Mon, 19 Jan 2015 20:43:10 +0000 (UTC)
commit a7f7867e9dba2ced5a8e47543fea729a8abf9d90
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Mon Jan 19 15:29:59 2015 -0500
Abbreviate watt-hours as Wh not WH
src/application.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index 8e3dc27..a49e929 100644
--- a/src/application.c
+++ b/src/application.c
@@ -136,12 +136,12 @@ update_labels(GbbApplication *application)
g_free(title);
if (current_state->energy_now >= 0)
- set_label(application, "energy-now", "%.1fWH", current_state->energy_now);
+ set_label(application, "energy-now", "%.1fWh", current_state->energy_now);
else
clear_label(application, "energy-now");
if (current_state->energy_full >= 0)
- set_label(application, "energy-full", "%.1fWH", current_state->energy_full);
+ set_label(application, "energy-full", "%.1fWh", current_state->energy_full);
else
clear_label(application, "energy-full");
@@ -151,7 +151,7 @@ update_labels(GbbApplication *application)
clear_label(application, "percentage");
if (current_state->energy_full_design >= 0)
- set_label(application, "energy-full-design", "%.1fWH", current_state->energy_full_design);
+ set_label(application, "energy-full-design", "%.1fWh", current_state->energy_full_design);
else
clear_label(application, "energy-full-design");
@@ -624,7 +624,7 @@ fill_log_from_run(GbbApplication *application,
clear_label(application, "energy-full-log");
if (last_state->energy_full_design >= 0)
- set_label(application, "energy-full-design-log", "%.1fWH", last_state->energy_full);
+ set_label(application, "energy-full-design-log", "%.1fWh", last_state->energy_full);
else
clear_label(application, "energy-full-design-log");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]