Fix missed objecttype makefile entry

This commit is contained in:
Eduardo Silva 2007-06-13 17:59:31 -04:00
parent 3c66cb899f
commit a590186e78
2 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,6 @@ import procmem
from graphics.frequency import HorizontalGraphic from graphics.frequency import HorizontalGraphic
class CPU_Usage: class CPU_Usage:
_CPU_HZ = 0 _CPU_HZ = 0
_last_jiffies = 0 _last_jiffies = 0
_times = 0 _times = 0
@ -99,7 +98,7 @@ class XO_CPU(gtk.Frame):
self.add(fixed) self.add(fixed)
self._DRW_CPU = CPU_Usage() self._DRW_CPU = CPU_Usage()
self._DRW_CPU.frequency = 1200 # 1 Second self._DRW_CPU.frequency = 1000 # 1 Second
gobject.timeout_add(self._DRW_CPU.frequency, self._update_cpu_usage) gobject.timeout_add(self._DRW_CPU.frequency, self._update_cpu_usage)

View File

@ -1,4 +1,6 @@
sugardir = $(pythondir)/sugar/objects sugardir = $(pythondir)/sugar/objects
sugar_PYTHON = \ sugar_PYTHON = \
__init__.py \ __init__.py \
mime.py mime.py \
objecttype.py