[gnome-settings-daemon] power: Remove use of gpm_device_to_localised_string()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Remove use of gpm_device_to_localised_string()
- Date: Thu, 17 Oct 2013 15:42:44 +0000 (UTC)
commit 077c8020d144709f456000a37d32bcd2a55a612a
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 16 22:34:58 2013 +0200
power: Remove use of gpm_device_to_localised_string()
It was only ever called with a UPS device.
https://bugzilla.gnome.org/show_bug.cgi?id=709736
plugins/power/gsd-power-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index f1fe8d3..5c80e1a 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -627,7 +627,7 @@ engine_ups_discharging (GsdPowerManager *manager, UpDevice *device)
g_string_append_printf (message, _("%s of UPS backup power remaining"),
remaining_text);
} else {
- g_string_append (message, gpm_device_to_localised_string (device));
+ g_string_append (message, _("Unknown amount of UPS backup power remaining"));
}
g_string_append_printf (message, " (%.0f%%)", percentage);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]