From 06c3f01998a7a5508f2699903624a5d0844049e4 Mon Sep 17 00:00:00 2001 From: Martin Abente Lahaye Date: Sun, 12 Apr 2015 10:11:59 -0400 Subject: [PATCH] Revert "Add ability to launch a bundle" This reverts commit 8fcb0b48d3d7fc1b1d95300559fae99fc08028f2. --- src/sugar3/activity/activity.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/sugar3/activity/activity.py b/src/sugar3/activity/activity.py index 9362ac52..d56c6203 100644 --- a/src/sugar3/activity/activity.py +++ b/src/sugar3/activity/activity.py @@ -1159,10 +1159,3 @@ def show_object_in_journal(object_id): obj = bus.get_object(J_DBUS_SERVICE, J_DBUS_PATH) journal = dbus.Interface(obj, J_DBUS_INTERFACE) journal.ShowObject(object_id) - -def launch_bundle(bundle_id="", object_id="", mime_type=""): - bus = dbus.SessionBus() - obj = bus.get_object('org.sugarlabs.BundleLauncher', - '/org/sugarlabs/BundleLauncher') - bundle_launcher = dbus.Interface(obj, 'org.sugarlabs.BundleLauncher') - bundle_launcher.launch(bundle_id, object_id, mime_type)