aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-24 12:24:09 -0500
committerTed Gould <ted@canonical.com>2009-09-24 12:24:09 -0500
commit1dcb350130e39b7d04b7b450d84d4e375eff09bb (patch)
tree1310e70d5caeebca0cda82daa308f16ddf8325ac
parent56e6098d53797aefa680c49e69560011aa57101a (diff)
downloadayatana-indicator-session-1dcb350130e39b7d04b7b450d84d4e375eff09bb.tar.gz
ayatana-indicator-session-1dcb350130e39b7d04b7b450d84d4e375eff09bb.tar.bz2
ayatana-indicator-session-1dcb350130e39b7d04b7b450d84d4e375eff09bb.zip
Disabing PK Check to whether the dialog shows
-rw-r--r--src/gtk-dialog/gtk-logout-helper.c7
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);
}