aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-05-05 10:21:42 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-05-05 10:21:42 -0500
commit8c874cb5a9f58ab9d1885dabb24e548afaa9b711 (patch)
tree6977c125a66afb0889becf402772e74442c33bcc /src
parent58ed2f8a5c1b7dd6941adcf8e55f13d1b6706866 (diff)
downloadayatana-indicator-power-8c874cb5a9f58ab9d1885dabb24e548afaa9b711.tar.gz
ayatana-indicator-power-8c874cb5a9f58ab9d1885dabb24e548afaa9b711.tar.bz2
ayatana-indicator-power-8c874cb5a9f58ab9d1885dabb24e548afaa9b711.zip
prefer the 'battery-020-charging' icon to the 'battery-low-charging' one because the former is more precise so its icon is more likely to be close to the actual actual battery level.
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 e3b655a..8780d72 100644
--- a/src/device.c
+++ b/src/device.c
@@ -416,8 +416,9 @@ indicator_power_device_get_icon_names (const IndicatorPowerDevice * device)
case UP_DEVICE_STATE_CHARGING:
suffix_str = get_device_icon_suffix (percentage);
index_str = get_device_icon_index (percentage);
- g_ptr_array_add (names, g_strdup_printf ("%s-%s-charging-symbolic", kind_str, suffix_str));
+ g_ptr_array_add (names, g_strdup_printf ("%s-%s-charging", kind_str, index_str));
g_ptr_array_add (names, g_strdup_printf ("gpm-%s-%s-charging", kind_str, index_str));
+ g_ptr_array_add (names, g_strdup_printf ("%s-%s-charging-symbolic", kind_str, suffix_str));
g_ptr_array_add (names, g_strdup_printf ("%s-%s-charging", kind_str, suffix_str));
break;