~artfwo/indicator-cpufreq/trunk

« back to all changes in this revision

Viewing changes to indicator_cpufreq/com.ubuntu.indicatorcpufreq.policy.in

  • Committer: Артём Попов
  • Date: 2011-02-24 10:32:12 UTC
  • Revision ID: artfwo@gmail.com-20110224103212-raetjcdhkj17i3tj
PolicyKit integration started.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE policyconfig PUBLIC
 
3
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 
4
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
 
5
 
 
6
 <!-- To the extent possible under law, David D. Lowe has waived all 
 
7
 copyright and related or neighboring rights to this file.
 
8
 License: http://creativecommons.org/publicdomain/zero/1.0/ -->
 
9
 
 
10
<policyconfig>
 
11
 
 
12
  <vendor>IndicatorCpufreq</vendor>
 
13
  <vendor_url>https://launchpad.net/indicator-cpufreq</vendor_url>
 
14
  <icon_name>indicator-cpufreq</icon_name>
 
15
 
 
16
  <action id="com.ubuntu.indicatorcpufreq.setfrequencyscaling">
 
17
    <_description>Change CPU frequency scaling</_description>
 
18
    <_message>System policy prevents you from changing CPU frequency scaling.</_message>
 
19
    
 
20
    <defaults>
 
21
      <!--
 
22
      <allow_any>auth_admin_keep</allow_any>
 
23
      <allow_inactive>auth_admin_keep</allow_inactive>
 
24
      <allow_active>auth_admin_keep</allow_active>
 
25
      -->
 
26
      <allow_inactive>no</allow_inactive>
 
27
      <allow_active>auth_admin_keep</allow_active>
 
28
    </defaults>
 
29
  </action>
 
30
</policyconfig> 
 
31