Console: little fix

This commit is contained in:
Eduardo Silva 2007-06-11 01:47:18 -04:00
parent 28deb37ffa
commit 67b7e3457b
2 changed files with 2 additions and 4 deletions

View File

@ -35,7 +35,6 @@ CONSOLE_IFACE = 'org.laptop.sugar.Console'
class Console:
def __init__(self):
# Main Window
self.window = gtk.Window()
self.window.set_title('Developer console')
@ -51,7 +50,7 @@ class Console:
# Notebook
self.notebook = gtk.Notebook()
self._load_interface('xo', 'XO Resources')
self._load_interface('memphis', 'Memphis')
self._load_interface('logviewer', 'Log Viewer')
@ -63,7 +62,7 @@ class Console:
self.notebook.show()
self.window.add(main_hbox)
def _load_interface(self, interface, label):
mod = __import__(interface)
widget = mod.Interface().widget

View File

@ -22,7 +22,6 @@ import gobject
import gtk.gdk
import cairo
import string
import drwarea
from cpu import XO_CPU
from system import XO_System