diff options
author | Iain Lane <iain.lane@canonical.com> | 2013-04-19 11:08:46 +0100 |
---|---|---|
committer | Iain Lane <iain.lane@canonical.com> | 2013-04-19 11:08:46 +0100 |
commit | 38399afa051605a447bd478c7b521048da8223d3 (patch) | |
tree | f50b7c40ba82bb9e0078fc5d08b615c04519e5d6 /src/gtk-logout-helper.c | |
parent | dfca7304da17c90b8c930b63bff7d5aa4f591406 (diff) | |
download | ayatana-indicator-session-38399afa051605a447bd478c7b521048da8223d3.tar.gz ayatana-indicator-session-38399afa051605a447bd478c7b521048da8223d3.tar.bz2 ayatana-indicator-session-38399afa051605a447bd478c7b521048da8223d3.zip |
Pass 'FALSE' for the PK interactivity argument, to match not checking for 'allowed' any more
Diffstat (limited to 'src/gtk-logout-helper.c')
-rw-r--r-- | src/gtk-logout-helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk-logout-helper.c b/src/gtk-logout-helper.c index b013a8f..12f2198 100644 --- a/src/gtk-logout-helper.c +++ b/src/gtk-logout-helper.c @@ -70,11 +70,11 @@ logind_fallback (LogoutDialogType action) break; case LOGOUT_DIALOG_TYPE_SHUTDOWN: g_debug("Telling logind to 'PowerOff'"); - result = call_logind ("PowerOff", g_variant_new ("(b)", TRUE), &error); + result = call_logind ("PowerOff", g_variant_new ("(b)", FALSE), &error); break; case LOGOUT_DIALOG_TYPE_RESTART: g_debug("Telling logind to 'Reboot'"); - result = call_logind ("Reboot", g_variant_new ("(b)", TRUE), &error); + result = call_logind ("Reboot", g_variant_new ("(b)", FALSE), &error); break; default: g_warning("Unknown action"); |