[gnome-power-manager] Use the new battery-full-charged icon from the shared icon specification. Fixes #620851
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Use the new battery-full-charged icon from the shared icon specification. Fixes #620851
- Date: Tue, 8 Jun 2010 11:54:21 +0000 (UTC)
commit 98b57686300e08a6c4a34adbba5bd17cb762c00c
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 8 09:34:22 2010 +0100
Use the new battery-full-charged icon from the shared icon specification. Fixes #620851
src/gpm-upower.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/gpm-upower.c b/src/gpm-upower.c
index fba9f88..d5556f5 100644
--- a/src/gpm-upower.c
+++ b/src/gpm-upower.c
@@ -142,11 +142,14 @@ gpm_upower_get_device_icon (UpDevice *device, gboolean use_symbolic)
g_string_append (filename, "battery-empty;");
break;
case UP_DEVICE_STATE_FULLY_CHARGED:
- if (use_symbolic)
- g_string_append (filename, "battery-full-symbolic;");
+ if (use_symbolic) {
+ g_string_append (filename, "battery-full-charged-symbolic;");
+ g_string_append (filename, "battery-full-charging-symbolic;");
+ }
g_string_append_printf (filename, "gpm-%s-full;", kind_str);
g_string_append_printf (filename, "gpm-%s-100;", kind_str);
- g_string_append (filename, "battery-full;");
+ g_string_append (filename, "battery-full-charged;");
+ g_string_append (filename, "battery-full-charging;");
break;
case UP_DEVICE_STATE_CHARGING:
case UP_DEVICE_STATE_PENDING_CHARGE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]