Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/Shell.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-21 23:57:49 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-21 23:57:49 (GMT)
commit0b6b6cd6acfedd3bfc326623ad0ccff21c5c4d5e (patch)
treecf895acdce9d1aa3ff11f875c361719a00d39ea4 /shell/view/Shell.py
parent0d7bdeb20a6a807852a92aa5e854d1f5bfa9d82f (diff)
Cleanup the Activity API, code needs more love.
Diffstat (limited to 'shell/view/Shell.py')
-rw-r--r--shell/view/Shell.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py
index d2527d8..812698f 100644
--- a/shell/view/Shell.py
+++ b/shell/view/Shell.py
@@ -103,9 +103,6 @@ class Shell(gobject.GObject):
def get_popup_context(self):
return self._popup_context
- def _join_success_cb(self, handler, activity, activity_ps):
- activity.join(activity_ps.object_path())
-
def _join_error_cb(self, handler, err, home_model):
home_mode.notify_activity_launch_failed(handler.get_activity_id())
@@ -132,13 +129,9 @@ class Shell(gobject.GObject):
handle.pservice_id = activity_id
handler = activityfactory.create(act_type, handle)
- handler.connect('success', self._join_success_cb, activity_ps)
handler.connect('error', self._join_error_cb, home_model)
- def _start_success_cb(self, handler, activity):
- activity.start(handler.get_activity_id())
-
- def _start_error_cb(self, handler, err, home_model, activity_id, activity_type):
+ def _start_error_cb(self, handler, err, home_model):
home_model.notify_activity_launch_failed(handler.get_activity_id())
def start_activity(self, activity_type):
@@ -150,7 +143,6 @@ class Shell(gobject.GObject):
home_model.notify_activity_launch(handler.get_activity_id(),
activity_type)
- handler.connect('success', self._start_success_cb)
handler.connect('error', self._start_error_cb, home_model)
# Zoom to Home for launch feedback