diff options
author | seb128 <seb128@seb128-laptop> | 2009-09-08 18:16:10 +0200 |
---|---|---|
committer | seb128 <seb128@seb128-laptop> | 2009-09-08 18:16:10 +0200 |
commit | ee56ebc0caaf8a8188e8eb01fbe23478a897a967 (patch) | |
tree | 8009e6c1bdce35069608aa21e17f00db35e75130 /src/gtk-dialog/gtk-logout-helper.c | |
parent | 866bdf8a658e660e613f6943e2b23cea318843b5 (diff) | |
parent | 5360fce331660e7b94a274bffa125ba8233fbeab (diff) | |
download | ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.tar.gz ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.tar.bz2 ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.zip |
releasing version 0.1.2-0ubuntu1
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); } |