diff options
author | Ted Gould <ted@canonical.com> | 2009-09-24 17:06:40 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-24 17:06:40 -0500 |
commit | daf213d6162034a18afc79cd8c71273b19d72489 (patch) | |
tree | 92c43181201189347db97f1dff9fe2c6f62472bb /src/gtk-dialog/gtk-logout-helper.c | |
parent | 6a12a49a15fc57c71dc96609da633c628e777b3a (diff) | |
parent | 50004fc1522354a4bc6227333a4fe19deba77f45 (diff) | |
download | ayatana-indicator-session-daf213d6162034a18afc79cd8c71273b19d72489.tar.gz ayatana-indicator-session-daf213d6162034a18afc79cd8c71273b19d72489.tar.bz2 ayatana-indicator-session-daf213d6162034a18afc79cd8c71273b19d72489.zip |
* Upstream release 0.1.5
* PolicyKit-1 support (LP: #418643)
* GDM User list support (LP: #422052)
* MissionControl5 support (LP: #427643)
* Better locking of the screensaver (LP: #428115)
Diffstat (limited to 'src/gtk-dialog/gtk-logout-helper.c')
-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); } |