summaryrefslogtreecommitdiff
path: root/src/polkitbackend/polkitbackendactionlookup.h
AgeCommit message (Collapse)AuthorFilesLines
2011-03-03Deprecated PolkitBackendActionLookupDavid Zeuthen1-0/+16
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>
2010-08-09Properly reference headersDavid Zeuthen1-1/+3
Based on a patch from Jonathan Conder <j@skurvy.no-ip.org>, see https://bugs.freedesktop.org/show_bug.cgi?id=25798 Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-05-19Use an object, not a GHashTable when passing details aroundDavid Zeuthen1-25/+25
This is because bindable GObject APIs should never return or accept a GHashTable, see http://bugzilla.gnome.org/show_bug.cgi?id=581686#c6 for details.
2009-05-13Only allow privileged apps to check authz and add ActionLookup interfaceDavid Zeuthen1-0/+105
Also remove the ObtainAuthorization() call and allow apps to pass details to CheckAuthorization.