diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-03 21:25:19 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-03 21:25:19 +0200 |
commit | 0fa9b264b7d79f9bb303b9383379635bb293cf3d (patch) | |
tree | 7d96d9ebf8662e55078d0d323a92ddae65b95ce8 /src/device.c | |
parent | c752cbea418bf5f85a0498fe3771439e1b70c394 (diff) | |
parent | 3a0758a29fdae434142e1a67329ff2b65fee3c6b (diff) | |
download | ayatana-indicator-power-0fa9b264b7d79f9bb303b9383379635bb293cf3d.tar.gz ayatana-indicator-power-0fa9b264b7d79f9bb303b9383379635bb293cf3d.tar.bz2 ayatana-indicator-power-0fa9b264b7d79f9bb303b9383379635bb293cf3d.zip |
Import upstream version 12.10.2
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c index c22aae8..898e18f 100644 --- a/src/device.c +++ b/src/device.c @@ -25,7 +25,7 @@ License along with this library. If not, see #include "config.h" #endif -#include <glib/gi18n.h> +#include <glib/gi18n-lib.h> #include "device.h" @@ -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; |