Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/Shell.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-07-12 12:02:29 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-12 12:02:29 (GMT)
commitbe806eb1918f7db90e661b5fcb4e260a0b1ba669 (patch)
tree09ca8d2341d5875c1623801516a5f32bf1626063 /shell/Shell.py
parentca2b08f8b6fb1bc54a4e4f9cfc457f57cf958c7f (diff)
More cleanups and some fixes
Diffstat (limited to 'shell/Shell.py')
-rwxr-xr-xshell/Shell.py18
1 files changed, 1 insertions, 17 deletions
diff --git a/shell/Shell.py b/shell/Shell.py
index d8befd5..d0fc59f 100755
--- a/shell/Shell.py
+++ b/shell/Shell.py
@@ -1,6 +1,5 @@
import dbus
import gtk
-import gobject
import wnck
from sugar.LogWriter import LogWriter
@@ -33,15 +32,8 @@ class ShellDbusService(dbus.service.Object):
def toggle_console(self):
self._shell.toggle_console()
-class Shell(gobject.GObject):
- __gsignals__ = {
- 'close': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE,
- ([])),
- }
-
+class Shell:
def __init__(self):
- gobject.GObject.__init__(self)
-
self._screen = wnck.screen_get_default()
def start(self):
@@ -132,11 +124,3 @@ class Shell(gobject.GObject):
def get_registry(self):
return self._registry
-
-if __name__ == "__main__":
- shell = Shell()
- shell.start()
- try:
- gtk.main()
- except KeyboardInterrupt:
- print 'Ctrl+c pressed, exiting...'