From 1dcb350130e39b7d04b7b450d84d4e375eff09bb Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 24 Sep 2009 12:24:09 -0500 Subject: Disabing PK Check to whether the dialog shows --- src/gtk-dialog/gtk-logout-helper.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3