summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-01-18 17:05:25 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-18 17:05:25 +0000
commita3dd31ee5746be77a2a3bc4e4de02452d126401f (patch)
tree260d1b12cf436a8888e0780aa3ec68fab516340e /policy
parentd27c836e97466d2ca42eaae942df6c3373fb0af3 (diff)
Rename the PolicyKit rules from org.freedesktop.devicekit.power to org.freedesktop.upower
Diffstat (limited to 'policy')
-rw-r--r--policy/Makefile.am12
-rw-r--r--policy/org.freedesktop.upower.policy.in (renamed from policy/org.freedesktop.devicekit.power.policy.in)4
-rw-r--r--policy/org.freedesktop.upower.qos.policy.in (renamed from policy/org.freedesktop.devicekit.power.qos.policy.in)8
3 files changed, 12 insertions, 12 deletions
diff --git a/policy/Makefile.am b/policy/Makefile.am
index df0be71..1a962d2 100644
--- a/policy/Makefile.am
+++ b/policy/Makefile.am
@@ -1,19 +1,19 @@
polkit_policydir = $(datadir)/polkit-1/actions
polkit_policy_DATA = \
- org.freedesktop.devicekit.power.policy \
- org.freedesktop.devicekit.power.qos.policy
+ org.freedesktop.upower.policy \
+ org.freedesktop.upower.qos.policy
# You will need a recent intltool or the patch from this bug
# http://bugzilla.gnome.org/show_bug.cgi?id=462312
@INTLTOOL_POLICY_RULE@
EXTRA_DIST = \
- org.freedesktop.devicekit.power.policy.in \
- org.freedesktop.devicekit.power.qos.policy.in
+ org.freedesktop.upower.policy.in \
+ org.freedesktop.upower.qos.policy.in
DISTCLEANFILES = \
- org.freedesktop.devicekit.power.policy \
- org.freedesktop.devicekit.power.qos.policy
+ org.freedesktop.upower.policy \
+ org.freedesktop.upower.qos.policy
clean-local :
rm -f *~
diff --git a/policy/org.freedesktop.devicekit.power.policy.in b/policy/org.freedesktop.upower.policy.in
index f3bfec8..2979e54 100644
--- a/policy/org.freedesktop.devicekit.power.policy.in
+++ b/policy/org.freedesktop.upower.policy.in
@@ -19,7 +19,7 @@ file are instantly applied.
<vendor_url>http://hal.freedesktop.org/docs/DeviceKit-power/</vendor_url>
<icon_name>system-suspend</icon_name>
- <action id="org.freedesktop.devicekit.power.suspend">
+ <action id="org.freedesktop.upower.suspend">
<_description>Suspend the system</_description>
<_message>Authentication is required to suspend the system</_message>
<defaults>
@@ -28,7 +28,7 @@ file are instantly applied.
</defaults>
</action>
- <action id="org.freedesktop.devicekit.power.hibernate">
+ <action id="org.freedesktop.upower.hibernate">
<_description>Hibernate the system</_description>
<_message>Authentication is required to hibernate the system</_message>
<defaults>
diff --git a/policy/org.freedesktop.devicekit.power.qos.policy.in b/policy/org.freedesktop.upower.qos.policy.in
index f24821a..9d33ea1 100644
--- a/policy/org.freedesktop.devicekit.power.qos.policy.in
+++ b/policy/org.freedesktop.upower.qos.policy.in
@@ -19,7 +19,7 @@ file are instantly applied.
<vendor_url>http://hal.freedesktop.org/docs/DeviceKit-power/</vendor_url>
<icon_name>system-suspend</icon_name>
- <action id="org.freedesktop.devicekit.power.qos.request-latency">
+ <action id="org.freedesktop.upower.qos.request-latency">
<_description>Set the required latency of an application</_description>
<_message>Authentication is required to set the required latency of an application</_message>
<defaults>
@@ -28,7 +28,7 @@ file are instantly applied.
</defaults>
</action>
- <action id="org.freedesktop.devicekit.power.qos.request-latency-persistent">
+ <action id="org.freedesktop.upower.qos.request-latency-persistent">
<_description>Set a persistent latency setting</_description>
<_message>Authentication is required to set a persistent latency setting</_message>
<defaults>
@@ -37,7 +37,7 @@ file are instantly applied.
</defaults>
</action>
- <action id="org.freedesktop.devicekit.power.qos.set-minimum-latency">
+ <action id="org.freedesktop.upower.qos.set-minimum-latency">
<_description>Set administrator settings for latency control</_description>
<_message>Authentication is required to set administrator settings for latency control</_message>
<defaults>
@@ -46,7 +46,7 @@ file are instantly applied.
</defaults>
</action>
- <action id="org.freedesktop.devicekit.power.qos.cancel-request">
+ <action id="org.freedesktop.upower.qos.cancel-request">
<_description>Cancel a latency request</_description>
<_message>Authentication is required to cancel a latency request</_message>
<defaults>