aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog/gtk-logout-helper.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2009-09-24 18:11:10 -0400
committerKen VanDine <ken.vandine@canonical.com>2009-09-24 18:11:10 -0400
commit8bbcf87cf6cd876eacec968438d1622e3b362225 (patch)
treed955b77d089152549107434f38df5dd12abddefb /src/gtk-dialog/gtk-logout-helper.c
parent86c162bb5ae1eca498296d7890789130b9eea2a4 (diff)
parent2bddafc048379759d720f250739c59fcad7f6249 (diff)
downloadayatana-indicator-session-8bbcf87cf6cd876eacec968438d1622e3b362225.tar.gz
ayatana-indicator-session-8bbcf87cf6cd876eacec968438d1622e3b362225.tar.bz2
ayatana-indicator-session-8bbcf87cf6cd876eacec968438d1622e3b362225.zip
* Upstream release 0.1.5 (LP: #436223)
* PolicyKit-1 support (LP: #418643) * GDM User list support (LP: #422052) * MissionControl5 support (LP: #427643) * Better locking of the screensaver (LP: #428115) * debian/control: Adding in a libempathy-dev build dependency as it's now required by upstream. * Removing patches 01_polkit-1.patch and 99_autoreconf.patch as they were merged upstream.
Diffstat (limited to 'src/gtk-dialog/gtk-logout-helper.c')
-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);
}