Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/view
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpgritti@gmail.com>2008-10-05 22:58:33 (GMT)
committer Marco Pesenti Gritti <mpgritti@gmail.com>2008-10-05 22:58:33 (GMT)
commit594fc9f4a674b93b7e43c70f2db13f1236ba8547 (patch)
tree8535627e7c511dab45ecc134c25ec8b6a35163aa /src/jarabe/view
parent009fcfc42f492ae0e305c6c67ef8faa1907236f6 (diff)
Remove (now) pointless activity launch wrappers from the shell view.
Diffstat (limited to 'src/jarabe/view')
-rw-r--r--src/jarabe/view/shell.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/jarabe/view/shell.py b/src/jarabe/view/shell.py
index 58a41bb..9486070 100644
--- a/src/jarabe/view/shell.py
+++ b/src/jarabe/view/shell.py
@@ -20,10 +20,6 @@ import gobject
import gtk
import wnck
-from sugar.activity.activityhandle import ActivityHandle
-from sugar import activity
-from sugar.activity import activityfactory
-
from jarabe.view.launchwindow import LaunchWindow
from jarabe.model import shell
@@ -80,28 +76,6 @@ class Shell(gobject.GObject):
def get_frame(self):
return self._frame
- def join_activity(self, bundle_id, activity_id):
- activity_model = self._model.get_activity_by_id(activity_id)
- activity_model.get_window().activate(gtk.get_current_event_time())
-
- # Get the service name for this activity, if
- # we have a bundle on the system capable of handling
- # this activity type
- registry = activity.get_registry()
- bundle = registry.get_activity(bundle_id)
- if not bundle:
- logging.error("Couldn't find activity for type %s" % bundle_id)
- return
-
- handle = ActivityHandle(activity_id)
- activityfactory.create(bundle_id, handle)
-
- def start_activity(self, activity_type):
- activityfactory.create(activity_type)
-
- def start_activity_with_uri(self, activity_type, uri):
- activityfactory.create_with_uri(activity_type, uri)
-
def set_zoom_level(self, level):
if level == self._model.get_zoom_level():
logging.debug('Already in the level %r' % level)