Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authoranishmangal2002 <anishmangal2002@gmail.com>2011-01-22 17:38:08 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2011-02-05 15:25:08 (GMT)
commite014bc401195a9b096e44d33d7f6135f7ae0c1c6 (patch)
tree47eedd8144f60441063918a5b81571243bc898e3 /po
parentbb0f646342903cdd1e9e5d4379fcade668c92d5e (diff)
Add cpu and memory resource indicator to frame
This patch adds an icon to the frame, whose palette menu displays the memory and cpu resources. For computing free memory, the code reads the /proc/meminfo file (thanks quozl) and for computing cpu usage, the code reads the /proc/stat file. The frame icon is updated after every 5 seconds if required. Similarly, the palette menu entries are updated after every 5 seconds as well. Signed-off-by: anishmangal2002 <anishmangal2002@gmail.com> [style fixes, increase weight of memory utilisation for "system mood" so bursts of CPU activity don't take us from "happy" directly to "sad"; pop up on left click since there is no primary action] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Aleksey Lim <alsroot@member.fsf.org>
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9e46831..b799339 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -27,6 +27,7 @@ extensions/cpsection/updater/__init__.py
extensions/cpsection/updater/view.py
extensions/deviceicon/battery.py
extensions/deviceicon/network.py
+extensions/deviceicon/resources.py
extensions/deviceicon/speaker.py
extensions/deviceicon/touchpad.py
extensions/deviceicon/volume.py