diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-06-07 10:10:22 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-06-07 10:10:22 (GMT) |
commit | e623294eaab90af4549e730c1bf038ac29a2682b (patch) | |
tree | cb6e14fcf32bb4ec8e87449d94863f9842b3f7dc /src/shellservice.py | |
parent | 438e2df989ced05dbeecba8fc45f166342ab2545 (diff) |
Shell service notify launch status directly to the model.
The shell view listen to the model.
Diffstat (limited to 'src/shellservice.py')
-rw-r--r-- | src/shellservice.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shellservice.py b/src/shellservice.py index 3d90779..706f2f2 100644 --- a/src/shellservice.py +++ b/src/shellservice.py @@ -79,12 +79,14 @@ class ShellService(dbus.service.Object): @dbus.service.method(_DBUS_SHELL_IFACE, in_signature="ss", out_signature="") def NotifyLaunch(self, bundle_id, activity_id): - self._shell.notify_launch(bundle_id, activity_id) + home = self._shell.get_model().get_home() + home.notify_launch(activity_id, bundle_id) @dbus.service.method(_DBUS_SHELL_IFACE, in_signature="s", out_signature="") def NotifyLaunchFailure(self, activity_id): - self._shell.notify_launch_failure(activity_id) + home = self._shell.get_model().get_home() + home.notify_launch_failed(activity_id) @dbus.service.signal(_DBUS_OWNER_IFACE, signature="s") def ColorChanged(self, color): |