diff options
author | Ted Gould <ted@gould.cx> | 2011-09-27 10:43:42 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-09-27 10:43:42 -0500 |
commit | 854ceab3008a40b43bf9ea2dbabd53edcddaecff (patch) | |
tree | f5462fb93192ad5feef39014ea1b1d251277bb03 /src/indicator-session.c | |
parent | de44ede6a0c9e6ba1046e82bdb7d878a9ad13a08 (diff) | |
parent | 48e560f68d557871c91d4bdac1619e47e573bab6 (diff) | |
download | ayatana-indicator-session-854ceab3008a40b43bf9ea2dbabd53edcddaecff.tar.gz ayatana-indicator-session-854ceab3008a40b43bf9ea2dbabd53edcddaecff.tar.bz2 ayatana-indicator-session-854ceab3008a40b43bf9ea2dbabd53edcddaecff.zip |
Update the icon instead of recreating it.
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r-- | src/indicator-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c index 833d19b..9510807 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -509,11 +509,11 @@ receive_signal (GDBusProxy * proxy, } else if (g_strcmp0(signal_name, "RestartRequired") == 0) { if (greeter_mode == TRUE){ - self->devices.image = indicator_image_helper (GREETER_ICON_RESTART); + indicator_image_helper_update(self->devices.image, GREETER_ICON_RESTART); } else{ g_debug ("reboot required"); - self->devices.image = indicator_image_helper (ICON_RESTART); + indicator_image_helper_update(self->devices.image, ICON_RESTART); } } } |