Remove more unused old activities stuff

This commit is contained in:
Marco Pesenti Gritti 2006-12-01 23:11:56 +01:00
parent 518d2d61d0
commit 7152755c5e
3 changed files with 0 additions and 13 deletions

View File

@ -32,9 +32,6 @@ dbus.glib.threads_init()
from sugar import logger from sugar import logger
from sugar import env from sugar import env
sys.path.insert(0, env.get_activities_dir())
from sugar.activity import ActivityFactory from sugar.activity import ActivityFactory
logger.start(sys.argv[1]) logger.start(sys.argv[1])

View File

@ -1,11 +1,7 @@
import os import os
import tempfile
_tmpdir = os.path.join(tempfile.gettempdir(), 'sugar')
_sourcedir = os.path.dirname(os.path.dirname(__file__)) _sourcedir = os.path.dirname(os.path.dirname(__file__))
sugar_data_dir = os.path.join(_sourcedir, 'shell/data') sugar_data_dir = os.path.join(_sourcedir, 'shell/data')
sugar_services_dir = os.path.join(_sourcedir, 'services') sugar_services_dir = os.path.join(_sourcedir, 'services')
sugar_activity_info_dir = _tmpdir
sugar_activities_dir = os.path.join(_sourcedir, 'activities')
sugar_shell_bin_dir = os.path.join(_sourcedir, 'shell') sugar_shell_bin_dir = os.path.join(_sourcedir, 'shell')

View File

@ -42,12 +42,6 @@ def get_profile_path():
def get_data_dir(): def get_data_dir():
return sugar_data_dir return sugar_data_dir
def get_activities_dir():
return sugar_activities_dir
def get_activity_info_dir():
return sugar_activity_info_dir
def get_services_dir(): def get_services_dir():
return sugar_services_dir return sugar_services_dir