diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-01 21:58:32 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-01 21:59:49 +0100 |
commit | b0c11102c1ab0f6297b27738fb1988815340dda6 (patch) | |
tree | f52e20bb28afa02eb6a500108841ddeea0200c13 /polkit/policy/org.mageia.rpmdrake.policy.in | |
parent | 8e29638bda1956d81baba16370c43822764a011a (diff) | |
download | rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar.gz rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar.bz2 rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar.xz rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.zip |
polkit: Make the polkit policy files translatable.
Diffstat (limited to 'polkit/policy/org.mageia.rpmdrake.policy.in')
-rw-r--r-- | polkit/policy/org.mageia.rpmdrake.policy.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/policy/org.mageia.rpmdrake.policy.in b/polkit/policy/org.mageia.rpmdrake.policy.in new file mode 100644 index 00000000..bdc43360 --- /dev/null +++ b/polkit/policy/org.mageia.rpmdrake.policy.in @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC +"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" +"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> +<policyconfig> + + <vendor>Mageia</vendor> + <vendor_url>http://www.mageia.org/</vendor_url> + + <action id="org.mageia.rpmdrake.pkexec.run"> + <_description>Run Mageia Package Manager</_description> + <_message>Authentication is required to run Mageia Package Manager</_message> + <icon_name>rpmdrake</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/rpmdrake</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |