aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-06-30 11:49:20 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-06-30 11:49:20 +0100
commit950c5a0f4f296cd7586200e9f81e6fe926ba36dc (patch)
treef402c592e91aae3142e727c14897a6fe04988679 /src
parent10313d35fd44022a7e4fabab992b6669b440343c (diff)
downloadayatana-indicator-power-950c5a0f4f296cd7586200e9f81e6fe926ba36dc.tar.gz
ayatana-indicator-power-950c5a0f4f296cd7586200e9f81e6fe926ba36dc.tar.bz2
ayatana-indicator-power-950c5a0f4f296cd7586200e9f81e6fe926ba36dc.zip
Update the icon, not create a new one
Diffstat (limited to 'src')
-rw-r--r--src/indicator-power.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 580615a..2235828 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -197,7 +197,8 @@ get_primary_device_cb (GObject *source_object,
g_debug ("got data from object %s", object_path);
/* set icon */
- priv->status_image = indicator_image_helper (device_icon);
+ indicator_image_helper_update (priv->status_image,
+ device_icon);
gtk_widget_show (GTK_WIDGET (priv->status_image));
/* get the title