Merge branch 'master' of git://dev.laptop.org/sugar
This commit is contained in:
commit
30d6361fb4
@ -1,12 +1,12 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from sugar.activity.bundle import Bundle
|
from sugar.bundle.activitybundle import ActivityBundle
|
||||||
|
|
||||||
from dbus.mainloop.glib import DBusGMainLoop
|
from dbus.mainloop.glib import DBusGMainLoop
|
||||||
DBusGMainLoop(set_as_default=True)
|
DBusGMainLoop(set_as_default=True)
|
||||||
|
|
||||||
bundle = Bundle(sys.argv[1])
|
bundle = ActivityBundle(sys.argv[1])
|
||||||
bundle.install()
|
bundle.install()
|
||||||
|
|
||||||
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])
|
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])
|
||||||
|
@ -152,7 +152,7 @@ class ActivityCreationHandler(gobject.GObject):
|
|||||||
_RAINBOW_ACTIVITY_FACTORY_PATH)
|
_RAINBOW_ACTIVITY_FACTORY_PATH)
|
||||||
factory.CreateActivity(
|
factory.CreateActivity(
|
||||||
self._service_name,
|
self._service_name,
|
||||||
self._activity_handle.get_dict(),
|
self._handle.get_dict(),
|
||||||
timeout=120 * 1000,
|
timeout=120 * 1000,
|
||||||
reply_handler=self._create_reply_handler,
|
reply_handler=self._create_reply_handler,
|
||||||
error_handler=self._create_error_handler,
|
error_handler=self._create_error_handler,
|
||||||
|
Loading…
Reference in New Issue
Block a user