gnome-shell/js
David Zeuthen adb04eb010 polkit: don't show authentication dialog until needed
See https://bugs.freedesktop.org/show_bug.cgi?id=27788#c1 for details
about the problem this patch is solving

In particular, we should never bring up the dialog if there is no
password on the account. While this sounds like a weird corner case,
it's not.. the Live CD, for example, does not have a root password.

This also avoids the initial dialog resize.. before the patch the
authentication dialog appears and a split-second later an StEntry
widget is added.

Also print out more diagnostic information if showing the modal dialog
fails. Also add a comment about how to easily make this happen.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-02-23 14:49:09 -05:00
..
misc Add a history manager 2011-02-19 13:28:16 -05:00
perf Use non recursive automake for JS 2010-09-15 18:38:46 +02:00
ui polkit: don't show authentication dialog until needed 2011-02-23 14:49:09 -05:00
Makefile.am Add a PolicyKit authentication agent 2011-02-22 15:13:56 -05:00