diff options
author | Eduardo Silva <edsiper@monotop.(none)> | 2007-03-10 22:16:40 (GMT) |
---|---|---|
committer | Eduardo Silva <edsiper@monotop.(none)> | 2007-03-10 22:16:40 (GMT) |
commit | 29d23cbe7764cb66551876c47800a2cbad4e48d3 (patch) | |
tree | 3b632db50e5aabbd415407d5fefe460f6e12382c /services/console/interface/xo/xo.py | |
parent | 361581c0d157bb28f64dfe4f1f9cfb976172d0b6 (diff) |
Console: new battery status box
Diffstat (limited to 'services/console/interface/xo/xo.py')
-rw-r--r-- | services/console/interface/xo/xo.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/services/console/interface/xo/xo.py b/services/console/interface/xo/xo.py index 7b02106..1aa1617 100644 --- a/services/console/interface/xo/xo.py +++ b/services/console/interface/xo/xo.py @@ -26,6 +26,7 @@ import drwarea from cpu import XO_CPU from system import XO_System +from battery import XO_Battery class Interface: @@ -33,10 +34,16 @@ class Interface: self.widget = self.vbox = gtk.VBox(False, 3) + # System information xo_system = XO_System() self.vbox.pack_start(xo_system, False, False, 0) + # CPU usage / Graph xo_cpu = XO_CPU() self.vbox.pack_start(xo_cpu, False, False, 0) - + + # Battery Status / Graph + xo_battery = XO_Battery() + self.vbox.pack_start(xo_battery, False, False, 0) + self.vbox.show_all() |