diff options
author | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-10-13 15:23:49 +0100 |
---|---|---|
committer | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-10-13 15:23:49 +0100 |
commit | 29f26133d5fbf3b67b9bbac487f2441cda1f3f1e (patch) | |
tree | e52d6d81a026e3de29d5a758e4b629605424902f /src | |
parent | 305a06925f925935dd3c1f5f96424c57f7add739 (diff) | |
download | ayatana-indicator-power-29f26133d5fbf3b67b9bbac487f2441cda1f3f1e.tar.gz ayatana-indicator-power-29f26133d5fbf3b67b9bbac487f2441cda1f3f1e.tar.bz2 ayatana-indicator-power-29f26133d5fbf3b67b9bbac487f2441cda1f3f1e.zip |
Add support for old name icons
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-power.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c index f95a75e..1ef1b85 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -376,17 +376,22 @@ build_battery_icon (UpDeviceState state, g_string_append (filename, "battery-charged;"); g_string_append (filename, "battery-full-charged-symbolic;"); g_string_append (filename, "battery-full-charged;"); + g_string_append (filename, "gpm-battery-charged;"); + g_string_append (filename, "gpm-battery-100-charging;"); } else if (state == UP_DEVICE_STATE_CHARGING) { g_string_append (filename, "battery-000-charging;"); g_string_append (filename, "battery-caution-charging-symbolic;"); g_string_append (filename, "battery-caution-charging;"); + g_string_append (filename, "gpm-battery-000-charging;"); } else if (state == UP_DEVICE_STATE_DISCHARGING) { g_string_append_printf (filename, "battery-%s;", suffix_str); g_string_append_printf (filename, "battery-%s-symbolic;", suffix_str); + g_string_append (filename, "battery-040;"); + g_string_append (filename, "gpm-battery-040;"); } iconnames = g_strsplit (filename->str, ";", -1); |