aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-27 10:43:42 -0500
committerTed Gould <ted@gould.cx>2011-09-27 10:43:42 -0500
commit854ceab3008a40b43bf9ea2dbabd53edcddaecff (patch)
treef5462fb93192ad5feef39014ea1b1d251277bb03 /src
parentde44ede6a0c9e6ba1046e82bdb7d878a9ad13a08 (diff)
parent48e560f68d557871c91d4bdac1619e47e573bab6 (diff)
downloadayatana-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')
-rw-r--r--src/indicator-session.c4
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);
}
}
}