aboutsummaryrefslogtreecommitdiff
path: root/src/session-service.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-22 11:59:15 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-22 11:59:15 +0100
commit3bfa1c305fbba42c48ed7338e5064745bb122a91 (patch)
treee615ad528f87c0b2a7277f3aee35756a765d2f6d /src/session-service.c
parentf94d6c4fe9c1ccb5a5e731b327fd57635c0ce326 (diff)
downloadayatana-indicator-session-3bfa1c305fbba42c48ed7338e5064745bb122a91.tar.gz
ayatana-indicator-session-3bfa1c305fbba42c48ed7338e5064745bb122a91.tar.bz2
ayatana-indicator-session-3bfa1c305fbba42c48ed7338e5064745bb122a91.zip
suspend plugged back in plus both it and hibernate menuitems should now be sensitive to changes coming from upower
Diffstat (limited to 'src/session-service.c')
-rw-r--r--src/session-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session-service.c b/src/session-service.c
index bb473e9..74fe5b0 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -71,11 +71,11 @@ static GMainLoop * mainloop = NULL;
void
service_shutdown (IndicatorService * service, gpointer user_data)
{
- if (mainloop != NULL) {
+ /*if (mainloop != NULL) {
g_debug("Service shutdown");
g_main_loop_quit(mainloop);
}
- return;
+ return;*/
}
/* Main, is well, main. It brings everything up and throws