Allow overriding message shown in authentication dialog
authorDavid Zeuthen <davidz@redhat.com>
Wed, 23 Feb 2011 21:45:59 +0000 (16:45 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 23 Feb 2011 21:45:59 +0000 (16:45 -0500)
commit76792accc8c846059b551dfba91ec3cd24d45d71
tree77c4ba4614082a256f862adc536491a1c10daf2e
parentf646c32853e775d87aa7147f3ad32e70a627bfce
Allow overriding message shown in authentication dialog

This is much easier than writing a PolkitBackendActionLookup class and
installing an extension. On the downside it requires the caller to be
uid 0.

Example: http://people.freedesktop.org/~david/polkit-pass-messages.png

Signed-off-by: David Zeuthen <davidz@redhat.com>
docs/polkit/docbook-interface-org.freedesktop.PolicyKit1.Authority.xml
src/polkit/polkitauthority.c
src/polkitbackend/polkitbackendinteractiveauthority.c