Navigation Menu

Skip to content

Commit

Permalink
add dbus method to update favorites
Browse files Browse the repository at this point in the history
  • Loading branch information
walterbender committed Aug 16, 2013
1 parent a625388 commit 8149364
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/jarabe/view/service.py
Expand Up @@ -64,6 +64,12 @@ def GetBundlePath(self, bundle_id):
else:
return ''

@dbus.service.method(_DBUS_SHELL_IFACE,
in_signature='ssb', out_signature='')
def SetBundleFavorite(self, bundle_id, version, favorite):
bundleregistry.get_registry().set_bundle_favorite(
bundle_id, version, favorite)

@dbus.service.method(_DBUS_SHELL_IFACE,
in_signature='s', out_signature='b')
def ActivateActivity(self, activity_id):
Expand Down

0 comments on commit 8149364

Please sign in to comment.