summaryrefslogtreecommitdiffstats
path: root/polkit/org.mageia.drakmouse.policy.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 13:31:36 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 13:31:36 +0100
commitbdfcb6c5408cd41ccd10a838df70917b131a6aa4 (patch)
treed84ea86c300c48e049010b18f42cba3aa52b4d2a /polkit/org.mageia.drakmouse.policy.in
parentf9ced290a6e6485513be1e489c855615d5802614 (diff)
downloaddrakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar
drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar.gz
drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar.bz2
drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar.xz
drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.zip
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/org.mageia.drakmouse.policy.in')
-rw-r--r--polkit/org.mageia.drakmouse.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.drakmouse.policy.in b/polkit/org.mageia.drakmouse.policy.in
new file mode 100644
index 0000000..dc9981e
--- /dev/null
+++ b/polkit/org.mageia.drakmouse.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.drakmouse.pkexec.run">
+ <_description>Run Mageia Mouse Configuration</_description>
+ <_message>Authentication is required to run Mageia Mouse Configuration</_message>
+ <icon_name>drakconf</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakmouse</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>