diff options
author | Ted Gould <ted@canonical.com> | 2009-09-24 12:24:09 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-24 12:24:09 -0500 |
commit | 1dcb350130e39b7d04b7b450d84d4e375eff09bb (patch) | |
tree | 1310e70d5caeebca0cda82daa308f16ddf8325ac /src/gtk-dialog | |
parent | 56e6098d53797aefa680c49e69560011aa57101a (diff) | |
download | ayatana-indicator-session-1dcb350130e39b7d04b7b450d84d4e375eff09bb.tar.gz ayatana-indicator-session-1dcb350130e39b7d04b7b450d84d4e375eff09bb.tar.bz2 ayatana-indicator-session-1dcb350130e39b7d04b7b450d84d4e375eff09bb.zip |
Disabing PK Check to whether the dialog shows
Diffstat (limited to 'src/gtk-dialog')
-rw-r--r-- | src/gtk-dialog/gtk-logout-helper.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gtk-dialog/gtk-logout-helper.c b/src/gtk-dialog/gtk-logout-helper.c index 0c03e86..d8aea6b 100644 --- a/src/gtk-dialog/gtk-logout-helper.c +++ b/src/gtk-dialog/gtk-logout-helper.c @@ -144,7 +144,12 @@ main (int argc, char * argv[]) INDICATOR_ICONS_DIR); GtkWidget * dialog = NULL; - if (!pk_require_auth(type) && !supress_confirmations()) { + /* TODO: We're disabling PolicyKit checking here because there + is a bug in ConsoleKit where the dialog doesn't come up until + the session is entirely closed. Stupid, but it's better than + not getting a dialog at all. */ + /* if (!pk_require_auth(type) && !supress_confirmations()) { */ + if (!supress_confirmations()) { dialog = logout_dialog_new(type); } |