diff options
author | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-06-30 11:49:20 +0100 |
---|---|---|
committer | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-06-30 11:49:20 +0100 |
commit | 950c5a0f4f296cd7586200e9f81e6fe926ba36dc (patch) | |
tree | f402c592e91aae3142e727c14897a6fe04988679 /src/indicator-power.c | |
parent | 10313d35fd44022a7e4fabab992b6669b440343c (diff) | |
download | ayatana-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/indicator-power.c')
-rw-r--r-- | src/indicator-power.c | 3 |
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 |