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-08 09:55:33 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-08 09:55:33 (GMT)
commit2999244b54848d989894c19664a3b0da2454d469 (patch)
tree774621fdc73c3276fe2ca28f5315f0a6eae621ca /shell/Shell.py
parent239358f56cdb63e4384e2800f96b897fb41734e5 (diff)
Stat refactoring the shell to use windows rather than tabs.
Initial implementation of the new activity menu
Diffstat (limited to 'shell/Shell.py')
-rwxr-xr-xshell/Shell.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/shell/Shell.py b/shell/Shell.py
index 025ec80..c952dd5 100755
--- a/shell/Shell.py
+++ b/shell/Shell.py
@@ -5,6 +5,7 @@ from sugar.LogWriter import LogWriter
from WindowManager import WindowManager
from ConsoleLogger import ConsoleLogger
from ActivityContainer import ActivityContainer
+from ActivityRegistry import ActivityRegistry
class Shell(gobject.GObject):
__gsignals__ = {
@@ -21,18 +22,12 @@ class Shell(gobject.GObject):
log_writer = LogWriter("Shell", False)
log_writer.start()
+ registry = ActivityRegistry()
+
session_bus = dbus.SessionBus()
service = dbus.service.BusName("com.redhat.Sugar.Shell", bus=session_bus)
activity_container = ActivityContainer(service, session_bus)
- activity_container.window.connect('destroy', self.__activity_container_destroy_cb)
- activity_container.show()
-
- wm = WindowManager(activity_container.window)
- wm.show()
-
- def __activity_container_destroy_cb(self, activity_container):
- self.emit('close')
if __name__ == "__main__":
shell = Shell()