aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-24 13:19:00 -0500
committerTed Gould <ted@canonical.com>2009-09-24 13:19:00 -0500
commitbb052d981e1c77e0501ada0cf8af4cc1c2ca3e47 (patch)
treedd75b685bea4db27a20b45595cda04e1ea4b4d8a
parent1222a451c58459c56e146bd89f61aa383a71f6f5 (diff)
parent1dcb350130e39b7d04b7b450d84d4e375eff09bb (diff)
downloadayatana-indicator-session-bb052d981e1c77e0501ada0cf8af4cc1c2ca3e47.tar.gz
ayatana-indicator-session-bb052d981e1c77e0501ada0cf8af4cc1c2ca3e47.tar.bz2
ayatana-indicator-session-bb052d981e1c77e0501ada0cf8af4cc1c2ca3e47.zip
Not checking with PK to see if we should show the dialog. CK is broken.
-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);
}