diff options
author | Erik Hanson <erik@slackbuilds.org> | 2013-12-10 09:40:01 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-12-14 10:53:04 -0600 |
commit | b7eab76d3172fa4d9ea09df69fd412cc67ab0cb5 (patch) | |
tree | 1d17729db64238f9ca2039ee516e944fc6431c06 /system/gparted/com.slackware.pkexec.gparted.policy | |
parent | 285f000a4385a4f2046f3a76c4184f9a8cd33f80 (diff) | |
download | slackbuilds-b7eab76d3172fa4d9ea09df69fd412cc67ab0cb5.tar.gz |
system/gparted: Updated for version 0.17.0.
Use polkit to workaround gksudo not
working.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/gparted/com.slackware.pkexec.gparted.policy')
-rw-r--r-- | system/gparted/com.slackware.pkexec.gparted.policy | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/system/gparted/com.slackware.pkexec.gparted.policy b/system/gparted/com.slackware.pkexec.gparted.policy new file mode 100644 index 0000000000..2981762ef8 --- /dev/null +++ b/system/gparted/com.slackware.pkexec.gparted.policy @@ -0,0 +1,20 @@ +<?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> + + <action id="com.slackware.pkexec.gparted"> + <message>Authentication is required to run the GParted Partition Editor</message> + <icon_name>gparted</icon_name> + <defaults> + <allow_any>auth_admin</allow_any> + <allow_inactive>auth_admin</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> + +</policyconfig> + |