aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-03 11:46:15 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-10-03 11:46:15 -0500
commitaf699e1e44a01947c2648fba483e7041839448a6 (patch)
treecd6fa6a396d2e634436cadb0b9cddbb9d2f5cc5e /src
parentb226f3fd6efdb883507ba798a33e5974331d1e85 (diff)
parent2b046e762cb8166c9b11af187835126094ff118d (diff)
downloadayatana-indicator-power-af699e1e44a01947c2648fba483e7041839448a6.tar.gz
ayatana-indicator-power-af699e1e44a01947c2648fba483e7041839448a6.tar.bz2
ayatana-indicator-power-af699e1e44a01947c2648fba483e7041839448a6.zip
merge lp:~charlesk/indicator-power/lp-1054146 to give a more accurate view of discharging batteries
Diffstat (limited to 'src')
-rw-r--r--src/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 078c7a4..898e18f 100644
--- a/src/device.c
+++ b/src/device.c
@@ -390,8 +390,9 @@ indicator_power_device_get_icon_names (const IndicatorPowerDevice * device)
suffix_str = get_device_icon_suffix (percentage);
index_str = get_device_icon_index (percentage);
- g_ptr_array_add (names, g_strdup_printf ("battery-%s-symbolic", suffix_str));
+ g_ptr_array_add (names, g_strdup_printf ("%s-%s", kind_str, index_str));
g_ptr_array_add (names, g_strdup_printf ("gpm-%s-%s", kind_str, index_str));
+ g_ptr_array_add (names, g_strdup_printf ("battery-%s-symbolic", suffix_str));
g_ptr_array_add (names, g_strdup_printf ("battery-%s", suffix_str));
break;