aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-session.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-09-06 17:59:18 +0100
committerConor Curran <conor.curran@canonical.com>2011-09-06 17:59:18 +0100
commit46db1068e1684293f02125872361f75204399e8f (patch)
tree495cf5de9db318cbc90e0ed7f86af0ba5f361e14 /src/indicator-session.c
parent00618412f6db4570b9708f9e4ee61bb64ce37c1b (diff)
downloadayatana-indicator-session-46db1068e1684293f02125872361f75204399e8f.tar.gz
ayatana-indicator-session-46db1068e1684293f02125872361f75204399e8f.tar.bz2
ayatana-indicator-session-46db1068e1684293f02125872361f75204399e8f.zip
refactor the apt state callback because the use case of real and simulation were proving far too disparate
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r--src/indicator-session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index 2f1764f..f41c841 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -507,11 +507,12 @@ receive_signal (GDBusProxy * proxy,
&self->users);
}
}
- else if (g_strcmp0(signal_name, "RestartRequired") == 0) {
+ else if (g_strcmp0(signal_name, "RestartRequired") == 0) {
if (greeter_mode == TRUE){
self->devices.image = indicator_image_helper (GREETER_ICON_RESTART);
}
else{
+ g_debug ("reboot required");
self->devices.image = indicator_image_helper (ICON_RESTART);
}
}