From 27456ff7231b65ffc4409f76b167110e32790626 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 10 Aug 2006 21:54:34 +0000 Subject: Remove the theme hacks. sugar-jhbuild set this up fine now. --- (limited to 'shell') diff --git a/shell/Session.py b/shell/Session.py index 08d8d64..985f1af 100644 --- a/shell/Session.py +++ b/shell/Session.py @@ -4,11 +4,10 @@ import gobject import time import dbus import dbus.dbus_bindings -from sugar.presence import PresenceService +from sugar.presence import PresenceService from Shell import Shell from Process import Process -import sugar.theme import sugar.env class DbusProcess(Process): @@ -61,7 +60,6 @@ class PresenceServiceProcess(Process): class Session: """Takes care of running the shell and all the sugar processes""" def __init__(self, registry): - sugar.theme.setup() self._registry = registry def start(self): diff --git a/shell/sugar-activity-factory b/shell/sugar-activity-factory index ba0e38a..9e028f1 100755 --- a/shell/sugar-activity-factory +++ b/shell/sugar-activity-factory @@ -1,11 +1,9 @@ #!/usr/bin/python - import sys import logging import pygtk pygtk.require('2.0') -import gobject import gtk import dbus.glib @@ -14,16 +12,9 @@ gtk.gdk.threads_init() dbus.glib.threads_init() from sugar.activity import ActivityFactory -from sugar.LogWriter import LogWriter -from sugar import theme logging.info('Starting activity factory %s' % sys.argv[1]) -theme.setup() - -#lw = LogWriter(sys.argv[1]) -#lw.start() - ActivityFactory.register_factory(sys.argv[1], sys.argv[2]) gtk.main() -- cgit v0.9.1