diff options
author | David Zeuthen <davidz@redhat.com> | 2011-03-03 13:13:11 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2011-03-03 13:18:05 -0500 |
commit | 02cebdb060e76e6d176f05ef24968e6d17225edb (patch) | |
tree | ad0bf3810442b299a21e5014364ab6733ead4475 /docs/polkit/polkit-1-docs.xml | |
parent | 76792accc8c846059b551dfba91ec3cd24d45d71 (diff) |
Deprecated PolkitBackendActionLookup
Instead, pass the untranslated message as polkit.message and set the
gettext domain on polkit.gettext_domain. For printf()-style messages,
occurences of the form $(name_of_key) in the translated version of
polkit.message are expanded with the value of the property
name_of_key. See the pkexec(1) mechanism for an example of how to use
this.
Additionally, the property polkit.icon_name can be set to the
icon. Note that not all authentication agents use this - in
particular, gnome-shell does not.
It is no longer possible to set the details to be shown in the
authentication dialog. It was never a good idea to hide information
there anyway. Instead, the mechanism should format a meaningful
message.
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'docs/polkit/polkit-1-docs.xml')
-rw-r--r-- | docs/polkit/polkit-1-docs.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/polkit/polkit-1-docs.xml b/docs/polkit/polkit-1-docs.xml index 06510ca..22092d9 100644 --- a/docs/polkit/polkit-1-docs.xml +++ b/docs/polkit/polkit-1-docs.xml @@ -94,7 +94,6 @@ <xi:include href="xml/polkitbackendauthority.xml"/> <xi:include href="xml/polkitbackendinteractiveauthority.xml"/> <xi:include href="xml/polkitbackendlocalauthority.xml"/> - <xi:include href="xml/polkitbackendactionlookup.xml"/> </part> <part id="ref-authentication-agent-api"> |