From 950c5a0f4f296cd7586200e9f81e6fe926ba36dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 30 Jun 2011 11:49:20 +0100 Subject: Update the icon, not create a new one --- src/indicator-power.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3