~artfwo/indicator-cpufreq/trunk

« back to all changes in this revision

Viewing changes to indicator_cpufreq/indicator.py

  • Committer: Артём Попов
  • Date: 2011-02-24 12:40:09 UTC
  • Revision ID: artfwo@gmail.com-20110224124009-dact7dizbjlo3ne6
cheat at distutils-extra polkit detection.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# with this program.  If not, see <http://www.gnu.org/licenses/>.
15
15
### END LICENSE
16
16
 
 
17
# FIXME:
 
18
# org.freedesktop.PolicyKit1 (cheat at distutils-extra)
 
19
 
17
20
# TODO:
18
21
# import multiprocessing
19
22
# multiprocessing.cpu_count()
33
36
#gettext.textdomain('indicator-cpufreq')
34
37
 
35
38
# FIXME: replace value with user-selectable unit
 
39
 
36
40
FIXME_CPU = 0
37
41
 
38
42
def readable_frequency(f):