diff options
author | Ted Gould <ted@canonical.com> | 2009-09-08 10:14:27 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-08 10:14:27 -0500 |
commit | 74caa096a9fac06420704d9f8db08c7864d805a0 (patch) | |
tree | f85d783106eb8b1f28d81ec89f67ad4e14b865a2 /src/gtk-dialog/gtk-logout-helper.c | |
parent | 44ecddced2e977719ac661a8ed06969d1df0400b (diff) | |
parent | 85799abbe897e0f1e08b8d594716ab34b543d9fd (diff) | |
download | ayatana-indicator-session-74caa096a9fac06420704d9f8db08c7864d805a0.tar.gz ayatana-indicator-session-74caa096a9fac06420704d9f8db08c7864d805a0.tar.bz2 ayatana-indicator-session-74caa096a9fac06420704d9f8db08c7864d805a0.zip |
Merging in c_korn's branch.
Diffstat (limited to 'src/gtk-dialog/gtk-logout-helper.c')
-rw-r--r-- | src/gtk-dialog/gtk-logout-helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gtk-dialog/gtk-logout-helper.c b/src/gtk-dialog/gtk-logout-helper.c index 5d87148..13991ca 100644 --- a/src/gtk-dialog/gtk-logout-helper.c +++ b/src/gtk-dialog/gtk-logout-helper.c @@ -6,6 +6,7 @@ Copyright 2009 Canonical Ltd. Authors: Ted Gould <ted@canonical.com> + Christoph Korn <c_korn@gmx.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published @@ -26,6 +27,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include <dbus/dbus-glib.h> #include "logout-dialog.h" #include "ck-pk-helper.h" +#include "gconf-helper.h" static void session_action (LogoutDialogAction action) @@ -132,7 +134,7 @@ main (int argc, char * argv[]) } GtkWidget * dialog = NULL; - if (!pk_require_auth(type)) { + if (!pk_require_auth(type) && !supress_confirmations()) { dialog = logout_dialog_new(type); } |