Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshell/sugar-activity4
-rw-r--r--shell/view/Shell.py6
-rw-r--r--shell/view/clipboardicon.py4
-rw-r--r--sugar/activity/Makefile.am2
-rw-r--r--sugar/activity/activityfactory.py (renamed from sugar/activity/ActivityFactory.py)0
5 files changed, 8 insertions, 8 deletions
diff --git a/shell/sugar-activity b/shell/sugar-activity
index 3f3c93f..6f5c974 100755
--- a/shell/sugar-activity
+++ b/shell/sugar-activity
@@ -20,7 +20,7 @@ import sys
import os
import gobject
-from sugar.activity import ActivityFactory
+from sugar.activity import activityfactory
from sugar import env
from sugar import util
@@ -40,7 +40,7 @@ os.environ['DBUS_SESSION_BUS_ADDRESS'] = bus_name
loop = gobject.MainLoop()
-handler = ActivityFactory.create(sys.argv[1])
+handler = activityfactory.create(sys.argv[1])
handler.connect('success', _success_cb, loop)
handler.connect('error', _error_cb, loop)
diff --git a/shell/view/Shell.py b/shell/view/Shell.py
index 47fe02c..45db412 100644
--- a/shell/view/Shell.py
+++ b/shell/view/Shell.py
@@ -23,7 +23,7 @@ from view.home.HomeWindow import HomeWindow
from sugar.presence import PresenceService
from sugar.graphics.popupcontext import PopupContext
from view.ActivityHost import ActivityHost
-from sugar.activity import ActivityFactory
+from sugar.activity import activityfactory
from view.frame.frame import Frame
from view.keyhandler import KeyHandler
from view.hardwaremanager import HardwareManager
@@ -137,7 +137,7 @@ class Shell(gobject.GObject):
home_model = self._model.get_home()
home_model.notify_activity_launch(activity_id, act_type)
- handler = ActivityFactory.create(act_type)
+ handler = activityfactory.create(act_type)
handler.connect('success', self._join_success_cb, activity_ps, activity_id, act_type)
handler.connect('error', self._join_error_cb, home_model, activity_id, act_type)
@@ -190,7 +190,7 @@ class Shell(gobject.GObject):
home_model.notify_activity_launch(act_id, activity_type)
logging.debug("Shell.start_activity will start %s (%s)" % (act_id, activity_type))
- handler = ActivityFactory.create(activity_type)
+ handler = activityfactory.create(activity_type)
handler.connect('success', self._start_success_cb, act_id, activity_type)
handler.connect('error', self._start_error_cb, home_model, act_id, activity_type)
diff --git a/shell/view/clipboardicon.py b/shell/view/clipboardicon.py
index ad74c1b..f0c609b 100644
--- a/shell/view/clipboardicon.py
+++ b/shell/view/clipboardicon.py
@@ -3,7 +3,7 @@ import logging
from sugar.graphics.menuicon import MenuIcon
from view.clipboardmenu import ClipboardMenu
from sugar.graphics.iconcolor import IconColor
-from sugar.activity import ActivityFactory
+from sugar.activity import activityfactory
from sugar.clipboard import clipboardservice
from sugar import util
@@ -53,7 +53,7 @@ class ClipboardIcon(MenuIcon):
logging.debug("_icon_activated_cb: " + self._object_id)
# Launch the activity to handle this item
- handler = ActivityFactory.create(self._activity)
+ handler = activityfactory.create(self._activity)
handler.connect('success', self._activity_create_success_cb)
handler.connect('error', self._activity_create_error_cb)
diff --git a/sugar/activity/Makefile.am b/sugar/activity/Makefile.am
index 0ef3d78..df6af5c 100644
--- a/sugar/activity/Makefile.am
+++ b/sugar/activity/Makefile.am
@@ -2,7 +2,7 @@ sugardir = $(pythondir)/sugar/activity
sugar_PYTHON = \
__init__.py \
Activity.py \
- ActivityFactory.py \
+ activityfactory.py \
activityfactoryservice.py \
activityservice.py \
bundle.py \
diff --git a/sugar/activity/ActivityFactory.py b/sugar/activity/activityfactory.py
index ef27f48..ef27f48 100644
--- a/sugar/activity/ActivityFactory.py
+++ b/sugar/activity/activityfactory.py